getEvaluationMeasures: Calculate Evaluation Measures

Description Usage Arguments Value Examples

View source: R/getEvaluationMeasures.R

Description

Calculate evaluation measures using the predictions generated during cross-validation.

Usage

1
getEvaluationMeasures(models, k, repNum)

Arguments

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

Value

A dataframe with the following columns: Model, RepNum, Pass_FScore, Pass_Recall, Pass_Precision, Fail_FScore, Fail_Recall, Fail_Precision, Accuracy

Examples

1
2
# calculate all seven evaluation measures for each model and each round of cross-validation
evalMeasuresDF <- getEvaluationMeasures(models=models, k=5, repNum=10)

MetaClean documentation built on Jan. 13, 2021, 6:30 p.m.