genrulesXGB | R Documentation |
Extracts rules from a XGB model.
genrulesXGB(x, y, forest_control = NULL, task = "regression")
x |
input matrix |
y |
outcome vector |
forest_control |
parameters that are passed to xgboost |
task |
"regression" or "class" for (binary) classification |
list of rules extracted from the xgboost model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.