edu.columbia.cs.ref.algorithm.evaluation.measure
Interface Measure
- All Known Implementing Classes:
- FMeasure, NumberOfExpectedPositiveAnswers, NumberOfPositiveAnswers, NumberOfTruePositives, Precision, Recall
public interface Measure
The Interface Measure represents an evaluation metric for relationship extraction.
- Since:
- 2011-09-27
- Version:
- 0.1
- Author:
- Pablo Barrio, Goncalo Simoes
getValue
double getValue(java.util.Map<OperableStructure,java.util.Set<java.lang.String>> labels,
java.util.Map<OperableStructure,java.util.Map<Model.PredictionProperties,java.lang.Object>> properties)
- Obtains the value of the metric
- Parameters:
labels
- map that associates a label to each operable structureproperties
- map that stores the properties of the prediction
- Returns:
- the value of the metric