roc_curve.glmnetcv_classifier {iai} | R 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)
[Package iai version 1.10.1 Index]