Description Usage Arguments Value References See Also Examples
rocCV
calculates the receiver operating characterisitc with cross-validation
1 2 3 |
x |
n * p observation matrix. n observations, p covariates. |
y |
n 0/1 observatons. |
method |
classification method(s).
|
metric |
metric used for averging performance. Includes 'CV' and 'SS' as options. Default = 'CV'. |
n.folds |
number of folds used for cross-validation or the number of splits in the subsampling. Default = 5. |
train.frac |
fraction of training data in the subsampling process. Default = 0.5. |
n.cores |
number of cores used for parallel computing. Default = 1. |
randSeed |
the random seed used in the algorithm. Default = 0. |
... |
additional arguments. |
A list.
fpr |
sequence of false positive rate. |
tpr |
sequence of true positive rate. |
Xin Tong, Yang Feng, and Jingyi Jessica Li (2018), Neyman-Pearson (NP) classification algorithms and NP receiver operating characteristic (NP-ROC), Science Advances, 4, 2, eaao1659.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.