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
Description
A LightGBM Booster does not necessarily have 'objective' in its param attribute dictionary. The documented default behavior in LightGBM is to assume regression without auto-setting the 'objective' key in the Booster.params dictionary if 'objective' is missing from param (a dictionary passed into the Training API functiontrain).
Reproduction
The following is a link to a notebook containing details for error reproduction and a view of the stack trace: Notebook for Reproduction
Thanks in advance to @slundberg and all active contributors for being so helpful!
Description
A LightGBM Booster does not necessarily have
'objective'
in itsparam
attribute dictionary. The documented default behavior in LightGBM is to assume regression without auto-setting the'objective'
key in theBooster.params
dictionary if'objective'
is missing fromparam
(a dictionary passed into the Training API functiontrain
).Reproduction
The following is a link to a notebook containing details for error reproduction and a view of the stack trace:
Notebook for Reproduction
Thanks in advance to @slundberg and all active contributors for being so helpful!
Nandish Gupta
Data Science Engineer, SolasAI
The text was updated successfully, but these errors were encountered: