roc_curve.glmnetcv_classifier: Construct an ROC curve using a trained 'glmnetcv_classifier'...

View source: R/heuristics.R

roc_curve.glmnetcv_classifierR Documentation

Construct an ROC curve using a trained glmnetcv_classifier on the given data

Description

Julia Equivalent: IAI.ROCCurve

Usage

## S3 method for class 'glmnetcv_classifier'
roc_curve(obj, X, y, fit_index = NULL, ...)

Arguments

obj

The learner or grid to use for prediction.

X

The features of the data.

y

The labels of the data.

fit_index

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 available parameters.

IAI Compatibility

Requires IAI version 3.0 or higher.

Examples

## Not run: iai::roc_curve(lnr, X, y)


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