getFeatureImportance {mlr}R Documentation

Calculates feature importance values for trained models.

Description

For some learners it is possible to calculate a feature importance measure. getFeatureImportance extracts those values from trained models. See below for a list of supported learners.

Usage

getFeatureImportance(object, ...)

Arguments

object

(WrappedModel)
Wrapped model, result of train().

...

(any)
Additional parameters, which are passed to the underlying importance value generating function.

Details

Value

(FeatureImportance) An object containing a data.frame of the variable importances and further information.


[Package mlr version 2.19.2 Index]