Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add the option to get Feature Contributions in LightGBMBooster …
…used by LightGBMRanker (#791) * Allow LightGBMRanker to compute features shap * Take featureShapGetter into trait that potentially can be used by other models * Fix data used to be the one for shap and add tests for getShapFeatures in LightGBMRanker * Fix issues with merge conflict resolution * Refactor to share predictForMat and predictForCSR from Score, Shap and LeafIndex usage * Fix compilation issue
- Loading branch information
Showing
4 changed files
with
95 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters