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

[BUG] LightGBM Booster 'objective' Parameter Membership #2469

Closed
ngupta20 opened this issue Mar 30, 2022 · 0 comments
Closed

[BUG] LightGBM Booster 'objective' Parameter Membership #2469

ngupta20 opened this issue Mar 30, 2022 · 0 comments

Comments

@ngupta20
Copy link
Contributor

ngupta20 commented Mar 30, 2022

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 function train).

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
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant