variable_importance.optimal_feature_selection_learner {iai}R Documentation

Generate a ranking of the variables in an Optimal Feature Selection learner according to their importance during training. The results are normalized so that they sum to one.

Description

Julia Equivalent: IAI.variable_importance

Usage

## S3 method for class 'optimal_feature_selection_learner'
variable_importance(obj, fit_index = NULL, ...)

Arguments

obj

The learner to query.

fit_index

The index of the cluster to use for prediction, if the coordinated_sparsity parameter on the learner is TRUE.

...

Refer to the Julia documentation for available parameters.

IAI Compatibility

Requires IAI version 1.1 or higher.

Examples

## Not run: iai::variable_importance(lnr, ...)


[Package iai version 1.10.1 Index]