You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add init_score_values as a parameter on the Python Booster class. Currently, it is only available on the Dataset class.
Motivation
Currently, it is a little tricky to find init_score after a model is trained. While it can be set, and therefore known, when boost_from_average it isn't. When saving a model, the easy access to this presumably gets lost. Therefore, it would be useful to have it as an attribute on the model.
It then allows us to access it via the sklearn API.
Description
See here for further details and initial motivation.
The text was updated successfully, but these errors were encountered:
Closed in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.
Summary
Add
init_score_values
as a parameter on the Python Booster class. Currently, it is only available on the Dataset class.Motivation
Currently, it is a little tricky to find
init_score
after a model is trained. While it can be set, and therefore known, whenboost_from_average
it isn't. When saving a model, the easy access to this presumably gets lost. Therefore, it would be useful to have it as an attribute on the model.It then allows us to access it via the sklearn API.
Description
See here for further details and initial motivation.
The text was updated successfully, but these errors were encountered: