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

Correct a mistake in Setting Parameters section #7905

Merged
merged 1 commit into from
May 16, 2022
Merged

Conversation

SzeYeung1
Copy link
Contributor

@SzeYeung1 SzeYeung1 commented May 15, 2022

Users who follow the code of specify validations set ( evallist = [(dtest, 'eval'), (dtrain, 'train')] ) in the Setting Parameters section will make the train score rather than the eval score as the criteria of early stopping, therefore propose reverse the order as 、evallist = [(dtrain, 'train'), (dtest, 'eval')]、.

Closes #7878

Users who follow the code of specify validations set ( evallist = [(dtest, 'eval'), (dtrain, 'train')] ) in the Setting Parameters section will make the train score rather than the eval score as the criteria of early stopping, therefore propose reverse the order as 、evallist = [(dtrain, 'train'), (dtest, 'eval')]、.
@hcho3
Copy link
Collaborator

hcho3 commented May 16, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a mistake in the Python Package Introduction?
2 participants