Package com.tibco.patterns.learn.api.hint

## Class HintReviewMislabeled

- java.lang.Object
- - com.tibco.patterns.learn.api.hint.HintReviewPairs
  - - com.tibco.patterns.learn.api.hint.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.

- - ### Field Summary

    - ### Fields inherited from class com.tibco.patterns.learn.api.hint.HintReviewPairs

      `recPairs`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static HintReviewMislabeled` | `create​(RecPairMap recPairMap, double minScoreDist)` | Creates a hint that holds possibly mislabeled pairs.

    - ### Methods inherited from class com.tibco.patterns.learn.api.hint.HintReviewPairs

      `getRecPairs, getScoreDist, size, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 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].