Description Usage Arguments Value
This function is a helper for partial dependency plots using an xgboost model. Use this as an example for the predictor
argument.
1 | predictor_xgb(model, data)
|
model |
Type: unknown. The xgboost trained model. |
data |
Type: data.table (mandatory). The data we need to use to sample from for the partial dependency with |
A vector of predicted values matching the right order of input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.