Description Usage Arguments Value Examples
View source: R/calculateEvaluationMeasures.R
Calculate evaluation measures using the predictions generated during cross-validation.
1 | calculateEvaluationMeasures(pred, true)
|
pred |
factor. A vector of factors that represent predicted classes |
true |
factor. A vector of factors that represent the true classes |
A dataframe with the following columns: Model, CVNum, RepNum, Accuracy, PassFScore, PassRecall, PassPrecision, FailFScore, FailRecall, FailPrecision
1 2 3 | # Calculate Evaluation Measures for test data
test_evalMeasures <- calculateEvaluationMeasures(pred=test_predictions_class,
pqMetrics_test$Class)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.