public abstract class Evaluator extends Object
Constructor and Description |
---|
Evaluator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addCount(Example test,
Prediction predicted)
This method should be implemented in the subclasses to update counters useful to compute the performance measure
|
abstract void |
clear()
This method should reset the state of the evaluator
|
abstract void |
compute()
This method is intented to force the computation of the performance measure.
|
float |
getPerformanceMeasure(String performanceMeasureMethodName,
Object... args)
This method allow to retrieve a performance measure by specifying the name of the method to be used.
|
public float getPerformanceMeasure(String performanceMeasureMethodName, Object... args) throws NoSuchPerformanceMeasureException
performanceMeasureMethodName
- the method of the name to be used to retrive the performance measureargs
- the arguments to be passed to the method @param performanceMeasureMethodName.NoSuchPerformanceMeasureException
public abstract void addCount(Example test, Prediction predicted)
test
- the test examplepredicted
- the prediction of the systempublic abstract void compute()
public abstract void clear()
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.