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 Dataset.feature_penalty #5656

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

jameslamb
Copy link
Collaborator

Contributes to #5313.

Proposes removing public attribute Dataset.feature_penalty. It was added in #2006 to support method Dataset.get_feature_penalty().

Dataset.get_feature_penalty() was removed in #2594, which moved feature_penalty into params (instead of having it be a top-level attribute of Dataset).

Notes for Reviewers

This is technically "breaking" because it removes a public attribute that user code could reference, but this attribute doesn't actually do anything and hasn't since get_feature_penalty() was removed back in #2594.

So I chose the label maintenance, to not add more noise to the breaking section of the release notes for something that I think very few users are likely to be depending on.

@jameslamb jameslamb changed the title [python-package] remove 'Dataset.feature_penalty' [python-package] remove Dataset.feature_penalty Dec 31, 2022
@jameslamb jameslamb merged commit e40c9e2 into master Jan 12, 2023
@jameslamb jameslamb deleted the remove-unused branch January 12, 2023 04:24
@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 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants