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

minor fix: in sklearn.py return attribute best_ntree_limit if early stopped #868

Merged
merged 1 commit into from
Feb 25, 2016

Conversation

vishnu0x1
Copy link
Contributor

The best_ntree_limit is not available directly through the sklearn interface. It is available indirectly via: XGBModel.booster().best_ntree_limit

terrytangyuan added a commit that referenced this pull request Feb 25, 2016
minor fix: in sklearn.py return attribute best_ntree_limit if early stopped
@terrytangyuan terrytangyuan merged commit 319091b into dmlc:master Feb 25, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants