Skip to content
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

[Feature Request] Auto early stopping in Sklearn API #6026

Open
rohan-gt opened this issue Aug 18, 2020 · 5 comments
Open

[Feature Request] Auto early stopping in Sklearn API #6026

rohan-gt opened this issue Aug 18, 2020 · 5 comments
Assignees
Labels
cross-validation Issues related to cross validation implementation in XGBoost. feature-request

Comments

@rohan-gt
Copy link

Is it possible to perform early stopping using cross-validation or automatically sampling data from the provided train set without explicitly specifying an eval set?

@hcho3
Copy link
Collaborator

hcho3 commented Aug 19, 2020

xgboost.cv() supports early stopping via cross-validated metrics.

@rohan-gt rohan-gt changed the title [Feature Request] Auto early stopping [Feature Request] Auto early stopping in Sklearn API Aug 19, 2020
@rohan-gt
Copy link
Author

@hcho3 modified the title. This is not available in the Sklearn API right?

@hcho3
Copy link
Collaborator

hcho3 commented Aug 19, 2020

No.

@trivialfis
Copy link
Member

I will look into this one later.

@hcho3
Copy link
Collaborator

hcho3 commented Aug 23, 2020

Relevant discussion: microsoft/LightGBM#3313

@trivialfis trivialfis added the cross-validation Issues related to cross validation implementation in XGBoost. label Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-validation Issues related to cross validation implementation in XGBoost. feature-request
Projects
None yet
Development

No branches or pull requests

3 participants