Skip to content

Commit

Permalink
Fix a comment in demo to use correct reference (#6190)
Browse files Browse the repository at this point in the history
Co-authored-by: John Quitto Graham <johnq@dgx07.aselab.nvidia.com>
  • Loading branch information
nvidia-johnq and John Quitto Graham committed Oct 1, 2020
1 parent eb7946f commit e0e4f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/guide-python/custom_objective.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e0e4f15

Please sign in to comment.