getFeatureImportance
. The return value is a named numeric vector. There does not need to be one value for each feature in the dataset.
In getFeatureImportance
missing features will get an importance of zero and if the vector contains NA
they will also be replaced with zero.# S3 method for regr.randomForestSRC
getFeatureImportanceLearner(.learner, .model,
...)getFeatureImportanceLearner(.learner, .model, ...)
Learner
| character(1)
]
The learner.WrappedModel
]
The model.numeric
] A named vector of variable importance.