View source: R/getFeatureImportance.R
getFeatureImportanceLearner | R Documentation |
This function is mostly for internal usage. To calculate feature importance use 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.
getFeatureImportanceLearner(.learner, .model, ...)
.learner |
(Learner | |
.model |
(WrappedModel) |
... |
(any) |
(numeric) A named vector of variable importance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.