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

## Class HintAddUntrained

- java.lang.Object
- - com.tibco.patterns.learn.api.hint.HintAddPairs
  - - com.tibco.patterns.learn.api.hint.HintAddUntrained

- All Implemented Interfaces:
    `Hint`

      public final class HintAddUntrained
      extends HintAddPairs

  Hint to add pairs to subsets that are present in validation dataset, but are not in training dataset. This means that the model was never trained with any actual training examples that belong to this subset. (It may have been trained with generated examples.) However, examples of these subsets were found in validation dataset, which implies that user wants the model to predict examples from these subsets.

- - ### Field Summary

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

      `subsets`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static HintAddUntrained` | `create​(java.util.Map<DataPartition,​SubsetFamily> datasetSubsets)` | Creates a hint object with all subsets that are in validation, but not in training dataset.

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

      `getCount, getSubsets, size, suitableRecord, toString`

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

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

- - ### Method Detail

    - #### create

          public static HintAddUntrained create​(java.util.Map<DataPartition,​SubsetFamily> datasetSubsets)

      Creates a hint object with all subsets that are in validation, but not in training dataset.
      Parameters:
        `datasetSubsets` - - all non-empty subsets in training and validation datasets.
      Returns:
        the new hint object. Returns null if no such subsets can be found (all subsets have training pairs, or the model was never trained).