score.glmnetcv_learner: Calculate the score for a GLMNet learner on the given data

View source: R/heuristics.R

score.glmnetcv_learnerR Documentation

Calculate the score for a GLMNet learner on the given data

Description

Julia Equivalent: IAI.score

Usage

## S3 method for class 'glmnetcv_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. fit_index can be used to specify the index of the fit in the path to use for prediction, defaulting to the best fit if not supplied. Refer to the Julia documentation for other available parameters.

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

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


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