Description Usage Arguments Value Examples
View source: R/getEvaluationMeasures.R
Calculate evaluation measures using the predictions generated during cross-validation.
1 | getEvaluationMeasures(models, k, repNum)
|
models |
list. A list of trained models, like that returned by trainClassifiers() |
k |
integer. Number of folds used in cross-validation |
repNum |
integer. Number of cross-validation rounds |
A dataframe with the following columns: Model, RepNum, Pass_FScore, Pass_Recall, Pass_Precision, Fail_FScore, Fail_Recall, Fail_Precision, Accuracy
1 2 | # calculate all seven evaluation measures for each model and each round of cross-validation
evalMeasuresDF <- getEvaluationMeasures(models=models, k=5, repNum=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.