-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
early stopping criteria not working with eval_metric "aucpr" #3712
Comments
Try setting |
thanks, that worked! |
I'm actually not sure maximize works when using the Scikit-Learn API for XGBoost If you set |
@imranahmed96 Indeed, it is not possible to set |
@hcho3 Thank-you for the lightning-fast reply! Perfect, that sounds great! 😄 |
@hcho3 is the change already available? |
@batmax2015 The change is not part of the stable 0.81 release. It will be part of the upcoming 0.82 release. You should use the latest source in the mean time. |
Still not working for me (for auc-pr) As an aside, why will it work for regular auc? @imranahmed96
|
The metrics aucpr should increase for the convergence, whereas the metrics required for early stopping criteria should be minimized;
The text was updated successfully, but these errors were encountered: