Learn R Programming

iai (version 1.10.2)

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

Description

Julia Equivalent: IAI.ROCCurve

Usage

# S3 method for 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

Run this code
if (FALSE) iai::roc_curve(lnr, X, y)

Run the code above in your browser using DataLab