From e0e4f15d0e314afcf44d690e0295fa6320fc7f64 Mon Sep 17 00:00:00 2001 From: John Quitto-Graham <72091066+nvidia-johnq@users.noreply.github.com> Date: Thu, 1 Oct 2020 13:16:04 -0700 Subject: [PATCH] Fix a comment in demo to use correct reference (#6190) Co-authored-by: John Quitto Graham --- demo/guide-python/custom_objective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/guide-python/custom_objective.py b/demo/guide-python/custom_objective.py index ee4ac5b80..6fa8bab52 100644 --- a/demo/guide-python/custom_objective.py +++ b/demo/guide-python/custom_objective.py @@ -43,7 +43,7 @@ def evalerror(preds, dtrain): py_evals_result = {} # training with customized objective, we can also do step by step training -# simply look at xgboost.py's implementation of train +# simply look at training.py's implementation of train py_params = param.copy() py_params.update({'disable_default_eval_metric': True}) py_logreg = xgb.train(py_params, dtrain, num_round, watchlist, obj=logregobj,