Description Usage Arguments Value Examples
Calculate variable importance by recording the increase in error when a given predictor is randomly permuted. Regression forests uses mean squared error; competing risks uses integrated Brier score.
1 2 3 |
forest |
The forest that was trained. |
newData |
A test set of the data if available. If not, then out of bag errors will be attempted on the training set. |
randomSeed |
The source of randomness used to permute the values. Can be left blank. |
events |
If using competing risks forest, the events that the error measure used for VIMP should be calculated on. |
time |
If using competing risks forest, the upper bound of the integrated Brier score. |
censoringDistribution |
(Optional) If using competing risks forest, the
censoring distribution. See |
eventWeights |
(Optional) If using competing risks forest, weights to be
applied to the error for each of the |
A named numeric vector of importance values.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.