Skip to content

[python-package] add Booster.set_leaf_output method#5712

Merged
jameslamb merged 2 commits intomasterfrom
python-set-leaf-output
Feb 15, 2023
Merged

[python-package] add Booster.set_leaf_output method#5712
jameslamb merged 2 commits intomasterfrom
python-set-leaf-output

Conversation

@jmoralez
Copy link
Collaborator

Adds the Booster.set_leaf_output method to the python API.

Based on #5682.

Copy link
Collaborator

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Makes sense to me! I didn't even know about LGBM_BoosterSetLeafValue() until I saw your answer in #5682, thanks for that.

@jameslamb jameslamb merged commit 29796ee into master Feb 15, 2023
@jameslamb jameslamb deleted the python-set-leaf-output branch February 15, 2023 19:20
@github-actions
Copy link
Contributor

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 15, 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.

2 participants