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

[R] deprecate watchlist warning #1

Closed
wants to merge 1 commit into from

Conversation

mayer79
Copy link
Owner

@mayer79 mayer79 commented Mar 11, 2024

Regarding the renaming of watchlist to evals in xgb.train() as per dmlc#10032 , we might consider raising a warning.

Often, the main training logic in R is to use xgb.train() with early stopping on the watchlist. By renaming watchlist, such cases will accidently use the training data for early stopping, which means that the model does not stop training until the maximum possible number of rounds is reached.

To avoid too many silent mistakes, we can raise the warning.

@mayer79 mayer79 changed the title deprecate watchlist [R] deprecate watchlist warning Mar 11, 2024
@mayer79 mayer79 self-assigned this Mar 11, 2024
@mayer79 mayer79 closed this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant