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

[python-package] remove Booster.set_attr() and Booster.attr() #5272

Merged
merged 1 commit into from
Jun 12, 2022

Conversation

jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Jun 7, 2022

Proposes removing Booster.set_attr() and Booster.attr().

Per #5255 (comment) those functions are not used anywhere. It looks like they may have been copied from xgboost around when LightGBM's Python package was first created.

This PR proposes removing them to simplify the interface for Booster and reduce the maintenance burden of the project.

Copy link
Collaborator

@guolinke guolinke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for simplifying the codebase!

@StrikerRUS StrikerRUS merged commit 11110c5 into master Jun 12, 2022
@StrikerRUS StrikerRUS deleted the remove-booster-methods branch June 12, 2022 17:18
@jameslamb jameslamb mentioned this pull request Oct 7, 2022
40 tasks
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants