Description Usage Arguments Value Author(s) Examples
A constructor function for the S3 class mccv; the mccv class encapsulates information such as predictions and abels needed to plot roc curve(s) for a cross-validated random forest model
1 |
predictions |
a n x p dataframe of the predictions collected during the cross-validation process of the random forest, with n is equal to the number of samples in each test set and p is equal to the number of test sets |
labels |
a n x p dataframe of the labels of the samples included in each test set obtained splitting the original dataset during the cross-validation process of the model |
models |
a list of p random forest models tested in the cross-validation process |
an object of class mccv
Piergiorgio Palla
1 2 3 | ## load a simple dataset with the vectors of the predictions and the labels resulting from a CV
data(simpleData)
mccv_obj <- mccv(simpleData$predictions, simpleData$labels, models = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.