Class 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.
    • 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).