public abstract class Evaluator<T> extends Object
Evaluatoris an abstract base class for evaluators. Evaluation results are the arithmetic mean of the scores calculated for each reference sample.
|Constructor and Description|
|Modifier and Type||Method and Description|
Reads all sample objects from the stream and evaluates each sample object with
Evaluates the given reference object.
public void evaluateSample(T sample)
note: this method will be changed to private in the future.
Implementations should override
If this method is override, the implementation has to update the score
after every invocation.
sample- the sample to be evaluated
Copyright © 2017 The Apache Software Foundation. All rights reserved.