predict.optimal_feature_selection_learner: Return the predictions made by an Optimal Feature Selection...

View source: R/optimalfeatureselection.R

predict.optimal_feature_selection_learnerR Documentation

Return the predictions made by an Optimal Feature Selection learner for each point in the features

Description

Julia Equivalent: IAI.predict

Usage

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

Arguments

obj

The learner or grid to use for prediction.

X

The features of the data.

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::predict(lnr, X)


iai documentation built on July 9, 2023, 5:41 p.m.