Description Usage Arguments Value Examples
Cross validates models to reproduce results in journal and conference papers.
1 | CrossValidateModels(d, p, rocpr = 1, s = 1, n = 5)
|
d |
If |
p |
If |
rocpr |
For all normalization methods, if |
s |
If |
n |
The number of folds in cross validation. |
A list containing the following results from the cross validated models:
The default accuracy we get if we predict the method is not good for all instances. This is the percentage of the majority class.
The n
-fold cross valdation results.
The mean n
-fold cross valdation results.
1 2 3 4 5 | ## Not run:
out <- CrossValidateModels(1,1,1,1,5)
out$mean_acc
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.