public class RegressorEvaluator extends Evaluator
Constructor and Description |
---|
RegressorEvaluator(List<Label> labels) |
Modifier and Type | Method and Description |
---|---|
void |
addCount(Example test,
Prediction prediction)
This method should be implemented in the subclasses to update counters useful to compute the performance measure
|
void |
clear()
This method should reset the state of the evaluator
|
protected void |
compute()
This method is intented to force the computation of the performance measure.
|
RegressorEvaluator |
duplicate()
Returns a new instance of this Evaluator
|
float |
getMeanSquaredError(Label label)
Returns the mean square error of the Label label.
|
float |
getMeanSquaredErrors()
Returns the mean error between the different Label{s}
|
getPerformanceMeasure
public void addCount(Example test, Prediction prediction)
Evaluator
protected void compute()
Evaluator
public float getMeanSquaredError(Label label)
label
- public float getMeanSquaredErrors()
public void clear()
Evaluator
public RegressorEvaluator duplicate()
Evaluator
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.