Amazon SageMaker
Developer Guide

HyperParameterTuningJobConfig

Configures a hyperparameter tuning job.

Contents

HyperParameterTuningJobObjective

The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.

Type: HyperParameterTuningJobObjective object

Required: Yes

ParameterRanges

The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.

Type: ParameterRanges object

Required: Yes

ResourceLimits

The ResourceLimits object that specifies the maximum number of training jobs and parallel training jobs for this tuning job.

Type: ResourceLimits object

Required: Yes

Strategy

Specifies the search strategy for hyperparameters. Currently, the only valid value is Bayesian.

Type: String

Valid Values: Bayesian

Required: Yes

TrainingJobEarlyStoppingType

Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. This can be one of the following values (the default value is OFF):

OFF

Training jobs launched by the hyperparameter tuning job do not use early stopping.

AUTO

Amazon SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.

Type: String

Valid Values: Off | Auto

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: