The infinitesimal jackknife for random forests (multiclass target variable)
1 | randomForestInfJackMulticlass(rf, newdata, calibrate = TRUE)
|
rf |
A random forest trained with replace = TRUE and keep.inbag = TRUE |
newdata |
A set of test points at which to evaluate standard errors |
calibrate |
whether to apply calibration to mitigate Monte Carlo noise warning: if calibrate = FALSE, some variance estimates may be negative due to Monte Carlo effects if the number of trees in rf is too small |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.