Interface ScoreEvaluation.Adapter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int numPositive()
      Return the number of positive ids.
      int numTotal()
      Return the number of all ids.
      boolean test()
      True if the current object is a positive example.
      boolean tiedToPrevious()
      Test whether the score is the same as the previous objects score.
      • Methods inherited from interface elki.utilities.datastructures.iterator.Iter

        advance, valid
    • Method Detail

      • test

        boolean test()
        True if the current object is a positive example.
        Returns:
        true when positive.
      • tiedToPrevious

        boolean tiedToPrevious()
        Test whether the score is the same as the previous objects score. When there is no previous result, implementations should return false!
        Returns:
        Boolean
      • numPositive

        int numPositive()
        Return the number of positive ids.
        Returns:
        Number of positive elements
      • numTotal

        int numTotal()
        Return the number of all ids.
        Returns:
        Number of all elements