OBJECT
- Type of object being annotatedANNOTATION
- Type of annotation.public class AnnotationEvaluator<OBJECT extends Identifiable,ANNOTATION> extends Object
Annotator
using
standardised classification and/or retrieval evaluation methodologies.Constructor and Description |
---|
AnnotationEvaluator(Annotator<OBJECT,ANNOTATION> annotator,
Dataset<? extends Annotated<OBJECT,ANNOTATION>> testData)
Construct a new
AnnotationEvaluator with the given annotator and
test data (with ground-truth annotations). |
Modifier and Type | Method and Description |
---|---|
<RESULT extends AnalysisResult> |
newClassificationEvaluator(ClassificationAnalyser<RESULT,ANNOTATION,OBJECT> analyser)
Make a new
ClassificationEvaluator , backed by the annotations
computed by this AnnotationEvaluator , with the given
ClassificationAnalyser . |
<RESULT extends AnalysisResult> |
newRetrievalEvaluator(RetrievalAnalyser<RESULT,ANNOTATION,OBJECT> analyser)
Make a new
RetrievalEvaluator , backed by the annotations computed
by this AnnotationEvaluator , with the given
RetrievalAnalyser . |
public AnnotationEvaluator(Annotator<OBJECT,ANNOTATION> annotator, Dataset<? extends Annotated<OBJECT,ANNOTATION>> testData)
AnnotationEvaluator
with the given annotator and
test data (with ground-truth annotations).annotator
- the annotatortestData
- the test data with ground-truth annotations.public <RESULT extends AnalysisResult> ClassificationEvaluator<RESULT,ANNOTATION,OBJECT> newClassificationEvaluator(ClassificationAnalyser<RESULT,ANNOTATION,OBJECT> analyser)
ClassificationEvaluator
, backed by the annotations
computed by this AnnotationEvaluator
, with the given
ClassificationAnalyser
.RESULT
- The type of AnalysisResult
produced by the evaluatoranalyser
- the ClassificationAnalyserpublic <RESULT extends AnalysisResult> RetrievalEvaluator<RESULT,OBJECT,ANNOTATION> newRetrievalEvaluator(RetrievalAnalyser<RESULT,ANNOTATION,OBJECT> analyser)
RetrievalEvaluator
, backed by the annotations computed
by this AnnotationEvaluator
, with the given
RetrievalAnalyser
.RESULT
- The type of AnalysisResult
produced by the evaluatoranalyser
- the RetrievalAnalyser