-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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-package] fixed evaluation on valids in lightgbm() (fixes #2915) #2916
[R-package] fixed evaluation on valids in lightgbm() (fixes #2915) #2916
Conversation
, "eval_freq" = eval_freq | ||
, "early_stopping_rounds" = early_stopping_rounds | ||
, "init_model" = init_model | ||
, "callbacks" = callbacks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is ...
missed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, yes! Good catch. I'll add that and a test on it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wait @guolinke no I have it!
train_args <- append(train_args, list(...))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and it's being tested already because in my tests I have metric = "binary_error"
(and metric
is not a keyword argument of the lightgbm()
function)
, early_stopping_rounds = early_stopping_rounds | ||
, init_model = init_model | ||
, callbacks = callbacks | ||
, ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is ... missed?
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
See #2915 for details. Getting evaluation on validation sets with the
lightgbm()
function is currently broken. In this PR, I propose a fix and a test to prevent us from re-introducing the bug.