Class HintReviewMislabeled

  • All Implemented Interfaces:
    Hint

    public final class HintReviewMislabeled
    extends HintReviewPairs
    A hint to review possibly mislabeled pairs. The pairs that are possibly mislabeled are selected based on the distance (absolute difference) between the actual label and the model score. Pairs for untrained subsets are not included, because untrained subsets are reported in HintAddUntrained object.
    • Method Detail

      • create

        public static HintReviewMislabeled create​(RecPairMap recPairMap,
                                                  double minScoreDist)
        Creates a hint that holds possibly mislabeled pairs.
        Parameters:
        minScoreDist - - minimum distance (absolute difference) between the predicted score and the label for the pair to be included in the hint.
        Returns:
        a new hint with possibly mislabeled pairs, or null if no such pairs found.
        Throws:
        java.lang.IllegalArgumentException - if minScoreDistance is not within (0.5; 1].