Class Recall

  • All Implemented Interfaces:
    IQualitativeMeasure

    public class Recall
    extends APRF
    implements IQualitativeMeasure
    It measures how far the algorithm retrieved correct results out of the all existed correct results.
    It is defined to be the ratio between the true positive to the total number of correct results whether retrieved or not
    Since:
    1.0
    Version:
    1.0
    Author:
    Mofeed Hassan (mounir@informatik.uni-leipzig.de), Tommaso Soru (tsoru@informatik.uni-leipzig.de)
    • Constructor Detail

      • Recall

        public Recall()
    • Method Detail

      • calculate

        public double calculate​(AMapping predictions,
                                GoldStandard goldStandard)
        The method calculates the recall of the machine learning predictions compared to a gold standard
        Specified by:
        calculate in interface IQualitativeMeasure
        Specified by:
        calculate in class APRF
        Parameters:
        predictions - The predictions provided by a machine learning algorithm
        goldStandard - It contains the gold standard (reference mapping) combined with the source and target URIs
        Returns:
        double - This returns the calculated recall