TrainingSettings Class

TrainingSettings class for Azure Machine Learning.

TrainingSettings class for Azure Machine Learning.

Inheritance
azure.ai.ml.entities._mixins.RestTranslatableMixin
TrainingSettings

Constructor

TrainingSettings(*, enable_onnx_compatible_models: bool | None = None, enable_dnn_training: bool | None = None, enable_model_explainability: bool | None = None, enable_stack_ensemble: bool | None = None, enable_vote_ensemble: bool | None = None, stack_ensemble_settings: StackEnsembleSettings | None = None, ensemble_model_download_timeout: int | None = None, allowed_training_algorithms: List[str] | None = None, blocked_training_algorithms: List[str] | None = None, training_mode: str | TrainingMode | None = None)

Parameters

Name Description
enable_onnx_compatible_models
Required

If set to True, the model will be trained to be compatible with ONNX

enable_dnn_training
Required

If set to True,the model will use DNN training

enable_model_explainability
Required

If set to True, the model will be trained to be explainable

enable_stack_ensemble
Required

If set to True, a final ensemble model will be created using a stack of models

enable_vote_ensemble
Required

If set to True, a final ensemble model will be created using a voting ensemble

stack_ensemble_settings
Required

Settings for stack ensemble

ensemble_model_download_timeout
Required

Timeout for downloading ensemble models

allowed_training_algorithms
Required

Models to train

blocked_training_algorithms
Required

Models that will not be considered for training

training_mode
Required

[Experimental] The training mode to use. The possible values are-

  • distributed- enables distributed training for supported algorithms.

  • non_distributed- disables distributed training.

  • auto- Currently, it is same as non_distributed. In future, this might change.

Note: This parameter is in public preview and may change in future.

Keyword-Only Parameters

Name Description
enable_onnx_compatible_models
Required
enable_dnn_training
Required
enable_model_explainability
Required
enable_stack_ensemble
Required
enable_vote_ensemble
Required
stack_ensemble_settings
Required
ensemble_model_download_timeout
Required
allowed_training_algorithms
Required
blocked_training_algorithms
Required
training_mode
Required

Attributes

allowed_training_algorithms

blocked_training_algorithms

training_mode