Class MaximumF1Evaluation

  • All Implemented Interfaces:
    ScoreEvaluation

    public class MaximumF1Evaluation
    extends java.lang.Object
    implements ScoreEvaluation
    Evaluate using the maximum F1 score.
    Since:
    0.7.0
    Author:
    Erich Schubert
    • Constructor Detail

      • MaximumF1Evaluation

        public MaximumF1Evaluation()
    • Method Detail

      • expected

        public double expected​(int pos,
                               int all)
        Description copied from interface: ScoreEvaluation
        Expected score for a random result.
        Specified by:
        expected in interface ScoreEvaluation
        Parameters:
        pos - Number of positive elements
        all - Total number of elements
        Returns:
        Expected score