public interface LearningPerformanceEvaluator<E extends Example> extends MOAObject
Modifier and Type | Method and Description |
---|---|
void |
addResult(E example,
double[] classVotes) |
void |
addResult(E testInst,
Prediction prediction)
Adds a learning result to this evaluator.
|
Measurement[] |
getPerformanceMeasurements()
Gets the current measurements monitored by this evaluator.
|
void |
reset()
Resets this evaluator.
|
copy, getDescription, measureByteSize
void reset()
void addResult(E testInst, Prediction prediction)
example
- the example to be classifiedclassVotes
- an array containing the estimated membership
probabilities of the test instance in each classvoid addResult(E example, double[] classVotes)
Measurement[] getPerformanceMeasurements()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.