| get_ensemble_predictions | R Documentation |
Returns a numeric vector of length n_obs with the ensemble's
prediction for every training observation. For models that store
out-of-bag (OOB) predictions (randomForest, ranger) the
stored OOB vector is returned; for other models in-sample predictions
are computed from the training data.
get_ensemble_predictions(ensemble, data, type)
ensemble |
A trained ensemble model. |
data |
The training |
type |
Character: |
Numeric vector of length nrow(data).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.