train_roc {nestedcv} | R 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 |
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
[Package nestedcv version 0.7.8 Index]