Class ForecastingTrainingSettings
java.lang.Object
com.azure.resourcemanager.machinelearning.models.TrainingSettings
com.azure.resourcemanager.machinelearning.models.ForecastingTrainingSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TrainingSettings>
Forecasting Training related configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ForecastingTrainingSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedTrainingAlgorithms property: Allowed models for forecasting task.Get the blockedTrainingAlgorithms property: Blocked models for forecasting task.static ForecastingTrainingSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ForecastingTrainingSettings from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAllowedTrainingAlgorithms(List<ForecastingModels> allowedTrainingAlgorithms) Set the allowedTrainingAlgorithms property: Allowed models for forecasting task.withBlockedTrainingAlgorithms(List<ForecastingModels> blockedTrainingAlgorithms) Set the blockedTrainingAlgorithms property: Blocked models for forecasting task.withEnableDnnTraining(Boolean enableDnnTraining) Set the enableDnnTraining property: Enable recommendation of DNN models.withEnableModelExplainability(Boolean enableModelExplainability) Set the enableModelExplainability property: Flag to turn on explainability on best model.withEnableOnnxCompatibleModels(Boolean enableOnnxCompatibleModels) Set the enableOnnxCompatibleModels property: Flag for enabling onnx compatible models.withEnableStackEnsemble(Boolean enableStackEnsemble) Set the enableStackEnsemble property: Enable stack ensemble run.withEnableVoteEnsemble(Boolean enableVoteEnsemble) Set the enableVoteEnsemble property: Enable voting ensemble run.withEnsembleModelDownloadTimeout(Duration ensembleModelDownloadTimeout) Set the ensembleModelDownloadTimeout property: During VotingEnsemble and StackEnsemble model generation, multiple fitted models from the previous child runs are downloaded.withStackEnsembleSettings(StackEnsembleSettings stackEnsembleSettings) Set the stackEnsembleSettings property: Stack ensemble settings for stack ensemble run.Methods inherited from class com.azure.resourcemanager.machinelearning.models.TrainingSettings
enableDnnTraining, enableModelExplainability, enableOnnxCompatibleModels, enableStackEnsemble, enableVoteEnsemble, ensembleModelDownloadTimeout, stackEnsembleSettingsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ForecastingTrainingSettings
public ForecastingTrainingSettings()Creates an instance of ForecastingTrainingSettings class.
-
-
Method Details
-
allowedTrainingAlgorithms
Get the allowedTrainingAlgorithms property: Allowed models for forecasting task.- Returns:
- the allowedTrainingAlgorithms value.
-
withAllowedTrainingAlgorithms
public ForecastingTrainingSettings withAllowedTrainingAlgorithms(List<ForecastingModels> allowedTrainingAlgorithms) Set the allowedTrainingAlgorithms property: Allowed models for forecasting task.- Parameters:
allowedTrainingAlgorithms- the allowedTrainingAlgorithms value to set.- Returns:
- the ForecastingTrainingSettings object itself.
-
blockedTrainingAlgorithms
Get the blockedTrainingAlgorithms property: Blocked models for forecasting task.- Returns:
- the blockedTrainingAlgorithms value.
-
withBlockedTrainingAlgorithms
public ForecastingTrainingSettings withBlockedTrainingAlgorithms(List<ForecastingModels> blockedTrainingAlgorithms) Set the blockedTrainingAlgorithms property: Blocked models for forecasting task.- Parameters:
blockedTrainingAlgorithms- the blockedTrainingAlgorithms value to set.- Returns:
- the ForecastingTrainingSettings object itself.
-
withEnableOnnxCompatibleModels
public ForecastingTrainingSettings withEnableOnnxCompatibleModels(Boolean enableOnnxCompatibleModels) Set the enableOnnxCompatibleModels property: Flag for enabling onnx compatible models.- Overrides:
withEnableOnnxCompatibleModelsin classTrainingSettings- Parameters:
enableOnnxCompatibleModels- the enableOnnxCompatibleModels value to set.- Returns:
- the TrainingSettings object itself.
-
withStackEnsembleSettings
public ForecastingTrainingSettings withStackEnsembleSettings(StackEnsembleSettings stackEnsembleSettings) Set the stackEnsembleSettings property: Stack ensemble settings for stack ensemble run.- Overrides:
withStackEnsembleSettingsin classTrainingSettings- Parameters:
stackEnsembleSettings- the stackEnsembleSettings value to set.- Returns:
- the TrainingSettings object itself.
-
withEnableStackEnsemble
Set the enableStackEnsemble property: Enable stack ensemble run.- Overrides:
withEnableStackEnsemblein classTrainingSettings- Parameters:
enableStackEnsemble- the enableStackEnsemble value to set.- Returns:
- the TrainingSettings object itself.
-
withEnableVoteEnsemble
Set the enableVoteEnsemble property: Enable voting ensemble run.- Overrides:
withEnableVoteEnsemblein classTrainingSettings- Parameters:
enableVoteEnsemble- the enableVoteEnsemble value to set.- Returns:
- the TrainingSettings object itself.
-
withEnsembleModelDownloadTimeout
public ForecastingTrainingSettings 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.- Overrides:
withEnsembleModelDownloadTimeoutin classTrainingSettings- Parameters:
ensembleModelDownloadTimeout- the ensembleModelDownloadTimeout value to set.- Returns:
- the TrainingSettings object itself.
-
withEnableModelExplainability
Set the enableModelExplainability property: Flag to turn on explainability on best model.- Overrides:
withEnableModelExplainabilityin classTrainingSettings- Parameters:
enableModelExplainability- the enableModelExplainability value to set.- Returns:
- the TrainingSettings object itself.
-
withEnableDnnTraining
Set the enableDnnTraining property: Enable recommendation of DNN models.- Overrides:
withEnableDnnTrainingin classTrainingSettings- Parameters:
enableDnnTraining- the enableDnnTraining value to set.- Returns:
- the TrainingSettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classTrainingSettings- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TrainingSettings>- Overrides:
toJsonin classTrainingSettings- Throws:
IOException
-
fromJson
public static ForecastingTrainingSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ForecastingTrainingSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ForecastingTrainingSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ForecastingTrainingSettings.
-