Class TrainingSettings


  • public final class TrainingSettings
    extends Object
    Training related configuration.
    • Constructor Detail

      • TrainingSettings

        public TrainingSettings()
    • Method Detail

      • enableDnnTraining

        public Boolean enableDnnTraining()
        Get the enableDnnTraining property: Enable recommendation of DNN models.
        Returns:
        the enableDnnTraining value.
      • withEnableDnnTraining

        public TrainingSettings withEnableDnnTraining​(Boolean enableDnnTraining)
        Set the enableDnnTraining property: Enable recommendation of DNN models.
        Parameters:
        enableDnnTraining - the enableDnnTraining value to set.
        Returns:
        the TrainingSettings object itself.
      • enableModelExplainability

        public Boolean enableModelExplainability()
        Get the enableModelExplainability property: Flag to turn on explainability on best model.
        Returns:
        the enableModelExplainability value.
      • withEnableModelExplainability

        public TrainingSettings withEnableModelExplainability​(Boolean enableModelExplainability)
        Set the enableModelExplainability property: Flag to turn on explainability on best model.
        Parameters:
        enableModelExplainability - the enableModelExplainability value to set.
        Returns:
        the TrainingSettings object itself.
      • enableOnnxCompatibleModels

        public Boolean enableOnnxCompatibleModels()
        Get the enableOnnxCompatibleModels property: Flag for enabling onnx compatible models.
        Returns:
        the enableOnnxCompatibleModels value.
      • withEnableOnnxCompatibleModels

        public TrainingSettings withEnableOnnxCompatibleModels​(Boolean enableOnnxCompatibleModels)
        Set the enableOnnxCompatibleModels property: Flag for enabling onnx compatible models.
        Parameters:
        enableOnnxCompatibleModels - the enableOnnxCompatibleModels value to set.
        Returns:
        the TrainingSettings object itself.
      • enableStackEnsemble

        public Boolean enableStackEnsemble()
        Get the enableStackEnsemble property: Enable stack ensemble run.
        Returns:
        the enableStackEnsemble value.
      • withEnableStackEnsemble

        public TrainingSettings withEnableStackEnsemble​(Boolean enableStackEnsemble)
        Set the enableStackEnsemble property: Enable stack ensemble run.
        Parameters:
        enableStackEnsemble - the enableStackEnsemble value to set.
        Returns:
        the TrainingSettings object itself.
      • enableVoteEnsemble

        public Boolean enableVoteEnsemble()
        Get the enableVoteEnsemble property: Enable voting ensemble run.
        Returns:
        the enableVoteEnsemble value.
      • withEnableVoteEnsemble

        public TrainingSettings withEnableVoteEnsemble​(Boolean enableVoteEnsemble)
        Set the enableVoteEnsemble property: Enable voting ensemble run.
        Parameters:
        enableVoteEnsemble - the enableVoteEnsemble value to set.
        Returns:
        the TrainingSettings object itself.
      • ensembleModelDownloadTimeout

        public Duration ensembleModelDownloadTimeout()
        Get the ensembleModelDownloadTimeout property: During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. Configure this parameter with a higher value than 300 secs, if more time is needed.
        Returns:
        the ensembleModelDownloadTimeout value.
      • withEnsembleModelDownloadTimeout

        public TrainingSettings withEnsembleModelDownloadTimeout​(Duration ensembleModelDownloadTimeout)
        Set the ensembleModelDownloadTimeout property: During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded. Configure this parameter with a higher value than 300 secs, if more time is needed.
        Parameters:
        ensembleModelDownloadTimeout - the ensembleModelDownloadTimeout value to set.
        Returns:
        the TrainingSettings object itself.
      • stackEnsembleSettings

        public StackEnsembleSettings stackEnsembleSettings()
        Get the stackEnsembleSettings property: Stack ensemble settings for stack ensemble run.
        Returns:
        the stackEnsembleSettings value.
      • withStackEnsembleSettings

        public TrainingSettings withStackEnsembleSettings​(StackEnsembleSettings stackEnsembleSettings)
        Set the stackEnsembleSettings property: Stack ensemble settings for stack ensemble run.
        Parameters:
        stackEnsembleSettings - the stackEnsembleSettings value to set.
        Returns:
        the TrainingSettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.