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

[backport] [R] Fix global feature importance and predict with 1 sample. (#7394) #7397

Merged
merged 1 commit into from
Nov 5, 2021

Conversation

trivialfis
Copy link
Member

No description provided.

* [R] Fix global feature importance.

* Add implementation for tree index.  The parameter is not documented in C API since we
should work on porting the model slicing to R instead of supporting more use of tree
index.

* Fix the difference between "gain" and "total_gain".

* debug.

* Fix prediction.
@trivialfis trivialfis merged commit e7ac248 into dmlc:release_1.5.0 Nov 5, 2021
@trivialfis trivialfis deleted the backport-r-fixes branch November 5, 2021 16:07
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 this pull request may close these issues.

None yet

1 participant