score.optimal_feature_selection_learner: Calculate the score for an Optimal Feature Selection learner...

View source: R/optimalfeatureselection.R

score.optimal_feature_selection_learnerR Documentation

Calculate the score for an Optimal Feature Selection learner on the given data

Description

Julia Equivalent: IAI.score

Usage

## S3 method for class 'optimal_feature_selection_learner'
score(obj, X, ...)

Arguments

obj

The learner or grid to evaluate.

X

The features of the data.

...

Other parameters, including zero or more target vectors as required by the problem type. If the coordinated_sparsity parameter on the learner is TRUE, then fit_index must be used to specify which cluster should be used. Refer to the Julia documentation for available parameters.

IAI Compatibility

Requires IAI version 1.1 or higher.

Examples

## Not run: iai::score(lnr, X, y, fit_index=1)


iai documentation built on Oct. 19, 2024, 1:07 a.m.