Jiaming Yuan e7ac2486eb
[backport] [R] Fix global feature importance and predict with 1 sample. (#7394) (#7397)
* [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.
2021-11-06 00:07:36 +08:00
..
2021-09-07 13:56:48 +08:00
2020-12-03 00:05:18 -08:00
2020-10-28 13:46:15 -07:00
2021-05-11 20:44:36 +08:00
2021-05-11 20:44:36 +08:00