View source: R/calculateGain.R
| calculateGain | R Documentation |
List of trees with pairs of variable and other needed fields
calculateGain(xgb.model, data)
xgb.model |
a xgboost or lightgbm model |
data |
a data table with data used to train the model |
a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.