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}
|
getPerformanceMeasurepublic void addCount(Example test, Prediction prediction)
Evaluatorprotected void compute()
Evaluatorpublic float getMeanSquaredError(Label label)
label - public float getMeanSquaredErrors()
public void clear()
Evaluatorpublic RegressorEvaluator duplicate()
EvaluatorCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.