get_prediction_weights.optimal_feature_selection_learner {iai}R Documentation

Return the weights for numeric and categoric features used for prediction in a trained Optimal Feature Selection learner

Description

Julia Equivalent: IAI.get_prediction_weights

Usage

## S3 method for class 'optimal_feature_selection_learner'
get_prediction_weights(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.

...

Additional arguments (unused)

IAI Compatibility

Requires IAI version 1.1 or higher.

Examples

## Not run: iai::get_prediction_weights(lnr)


[Package iai version 1.10.1 Index]