Interface IQualitativeMeasure
-
- All Known Implementing Classes:
Accuracy,APRF,APseudoPRF,AUC,FMeasure,Precision,PseudoFMeasure,PseudoPrecision,PseudoRecall,PseudoRefFMeasure,PseudoRefPrecision,PseudoRefRecall,Recall
public interface IQualitativeMeasureAn Interface specifies the calculate method signature to be implemented by all qualitative measures- Since:
- 1.0
- Version:
- 1.0
- Author:
- Mofeed Hassan (mounir@informatik.uni-leipzig.de), Tommaso Soru (tsoru@informatik.uni-leipzig.de)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublecalculate(AMapping predictions, GoldStandard goldStandard)The method to be implemented for calculating the accuracy of the machine learning predictions compared to a gold standard
-
-
-
Method Detail
-
calculate
double calculate(AMapping predictions, GoldStandard goldStandard)
The method to be implemented for calculating the accuracy of the machine learning predictions compared to a gold standard- Parameters:
predictions- The predictions provided by a machine learning algorithmgoldStandard- It contains the gold standard (reference mapping) combined with the source and target URIs- Returns:
- double - This returns the calculated accuracy
-
-