TrainingSettings Class

TrainingSettings class for Azure Machine Learning.

TrainingSettings class for Azure Machine Learning.

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)

Keyword-Only Parameters

Name Description
enable_onnx_compatible_models

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

Default value: None
enable_dnn_training

If set to True,the model will use DNN training

Default value: None
enable_model_explainability

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

Default value: None
enable_stack_ensemble

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

Default value: None
enable_vote_ensemble

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

Default value: None
stack_ensemble_settings

Settings for stack ensemble

Default value: None
ensemble_model_download_timeout

Timeout for downloading ensemble models

Default value: None
allowed_training_algorithms

Models to train

Default value: None
blocked_training_algorithms

Models that will not be considered for training

Default value: None
training_mode

[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.

Default value: None

Attributes

allowed_training_algorithms

blocked_training_algorithms

training_mode