-
Notifications
You must be signed in to change notification settings - Fork 91
ntreelimit
has been deprecated
in favour of iteration_range
#656
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ntreelimit
has been deprecated
in favour of iteration_range
#656
Conversation
As `ntreelimit` as been deprecated, adding `iterationrange` to the `xgb_pred` call with the correct modifications to fit the current use case.
Do we want to make this change now and set As a reminder, xgboost is only in Suggests for parsnip but how would this impact our ability to build on older versions of R? We are building back to |
xgboost uses R (≥ 3.3.0) so it probably shouldn't been an issue for CI. I"m inclined to add a version restriction in parsnip. The xgboost api does change a lot and programming around this (and other changes) would be messy. |
@tiagomaie I just want to confirm with you that I changed the parameter to |
Thanks @juliasilge ! I should mention that although in some warnings and in the docs it says that Running parsnips test for xgboost (ie. |
Co-authored-by: Tiago Maié <tiagomaie@hotmail.com>
Ah, thank you very much for clarifying @tiagomaie! Very helpful. |
This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
This is a fix for issue #655
As
ntreelimit
as been deprecated, addingiterationrange
to thexgb_pred
call with the correct modifications to fit the current use case.Further work is needed at a later stage to extend the new functionality of
iterationrange
.