|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrecRecEvaluator
Interface representing an alignment evaluator for precision and recall measures. Precision represents the percentage of found correspondences that are correct wrt. to the reference alignment. Recall represents the percentage of correctly found correspondences out of the total number of correct correspondences wrt. to the reference alignment. F-Measure represents the harmonic mean of precision and recall.
Method Summary | |
---|---|
double |
getFMeasure(Alignment alignment)
Computes and returns the F-Measure of an alignment. |
double |
getPrecision(Alignment alignment)
Computes and returns the precision of an alignment. |
double |
getRecall(Alignment alignment)
Computes and returns the recall of an alignment. |
Method Detail |
---|
double getPrecision(Alignment alignment) throws IncompatibleAlignmentsException
alignment
- Alignment, whose precision is to be determined.
IncompatibleAlignmentsException
- if the alignment refers to different ontologies
than the reference alignment.double getRecall(Alignment alignment) throws IncompatibleAlignmentsException
alignment
- Alignment, whose recall is to be determined.
IncompatibleAlignmentsException
- if the alignment refers to different ontologies
than the reference alignment.double getFMeasure(Alignment alignment) throws IncompatibleAlignmentsException
alignment
- Alignment, whose F-Measure is to be determined.
IncompatibleAlignmentsException
- if the alignment refers to different ontologies
than the reference alignment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |