T - samples data typepublic interface Evaluator<T>
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate()
Run the training procedure and compute score.
|
double |
getScore()
Tells the score resulting of the evaluation
|
void |
setClassifier(Classifier<T> cls)
Sets the classifier to use for evaluation
|
void |
setTestingSet(java.util.List<TrainingSample<T>> testlist)
Sets the list of testing samples on which to evaluate the classifier
|
void |
setTrainingSet(java.util.List<TrainingSample<T>> trainlist)
Sets the list of training samples on which to train the classifier
|
void setClassifier(Classifier<T> cls)
cls - the classifiervoid setTrainingSet(java.util.List<TrainingSample<T>> trainlist)
trainlist - the training setvoid setTestingSet(java.util.List<TrainingSample<T>> testlist)
testlist - the testing setvoid evaluate()
double getScore()