public class NFoldEvaluator extends Evaluator
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<ArrayList<CBRCase>> |
_folds |
protected StandardCBRApplication |
app |
| Constructor and Description |
|---|
NFoldEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createFolds(Collection<CBRCase> cases,
int folds) |
protected void |
getFolds(int f,
List<CBRCase> querySet,
List<CBRCase> caseBaseSet) |
void |
init(StandardCBRApplication cbrApp)
Initializes the evaluator with the CBR application to evaluate
|
void |
NFoldEvaluation(int folds,
int repetitions)
Executes the N-Fold evaluation.
|
getEvaluationReportprotected StandardCBRApplication app
public NFoldEvaluator()
public void init(StandardCBRApplication cbrApp)
Evaluatorinit in class EvaluatorStandardCBRApplicationpublic void NFoldEvaluation(int folds, int repetitions)
folds - Number of folds (randomly generated).repetitions - Number of repetitionsprotected void createFolds(Collection<CBRCase> cases, int folds)
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.