Interface ScoreEvaluation

    • Method Detail

      • evaluate

        double evaluate​(ScoreEvaluation.Adapter adapter)
        Evaluate a given predicate and iterator.
        Parameters:
        adapter - Input data adapter
        Returns:
        Score
      • evaluate

        default double evaluate​(DBIDs ids,
                                DoubleDBIDList nei)
        Evaluate given a list of positives and a scoring.
        Parameters:
        ids - Positive IDs, usually a set.
        nei - Query Result
        Returns:
        Score
      • expected

        double expected​(int pos,
                        int all)
        Expected score for a random result.
        Parameters:
        pos - Number of positive elements
        all - Total number of elements
        Returns:
        Expected score