train_roc: Build ROC curve from outer CV training folds

View source: R/innercv_roc.R

train_rocR Documentation

Build ROC curve from outer CV training folds

Description

Build ROC (receiver operating characteristic) curve from outer training folds. Object can be plotted using plot() or passed to functions auc() etc.

Usage

train_roc(x, direction = "<", ...)

Arguments

x

a nestcv.glmnet, nestcv.train or outercv object

direction

Set ROC directionality pROC::roc

...

Other arguments passed to pROC::roc

Details

Note: the argument outer_train_predict must be set to TRUE in the original call to either nestcv.glmnet, nestcv.train or outercv.

Value

"roc" object, see pROC::roc


nestedcv documentation built on Oct. 26, 2023, 5:08 p.m.