amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

Description

 
Synopsis

Documentation

data HyperParameterTuningJobConfig Source #

Configures a hyperparameter tuning job.

See: newHyperParameterTuningJobConfig smart constructor.

Constructors

HyperParameterTuningJobConfig' 

Fields

  • hyperParameterTuningJobObjective :: Maybe HyperParameterTuningJobObjective

    The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.

  • parameterRanges :: Maybe ParameterRanges

    The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches over to find the optimal configuration for the highest model performance against your chosen objective metric.

  • randomSeed :: Maybe Natural

    A value used to initialize a pseudo-random number generator. Setting a random seed and using the same seed later for the same tuning job will allow hyperparameter optimization to find more a consistent hyperparameter configuration between the two runs.

  • strategyConfig :: Maybe HyperParameterTuningJobStrategyConfig

    The configuration for the Hyperband optimization strategy. This parameter should be provided only if Hyperband is selected as the strategy for HyperParameterTuningJobConfig.

  • trainingJobEarlyStoppingType :: Maybe TrainingJobEarlyStoppingType

    Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. Because the Hyperband strategy has its own advanced internal early stopping mechanism, TrainingJobEarlyStoppingType must be OFF to use Hyperband. This parameter can take on 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
    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.
  • tuningJobCompletionCriteria :: Maybe TuningJobCompletionCriteria

    The tuning job's completion criteria.

  • strategy :: HyperParameterTuningJobStrategyType

    Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. For information about search strategies, see How Hyperparameter Tuning Works.

  • resourceLimits :: ResourceLimits

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

Instances

Instances details
FromJSON HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

ToJSON HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

Generic HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

Associated Types

type Rep HyperParameterTuningJobConfig :: Type -> Type #

Read HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

Show HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

NFData HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

Eq HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

Hashable HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

type Rep HyperParameterTuningJobConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.HyperParameterTuningJobConfig

newHyperParameterTuningJobConfig Source #

Create a value of HyperParameterTuningJobConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hyperParameterTuningJobObjective:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_hyperParameterTuningJobObjective - The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.

$sel:parameterRanges:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_parameterRanges - The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches over to find the optimal configuration for the highest model performance against your chosen objective metric.

$sel:randomSeed:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_randomSeed - A value used to initialize a pseudo-random number generator. Setting a random seed and using the same seed later for the same tuning job will allow hyperparameter optimization to find more a consistent hyperparameter configuration between the two runs.

$sel:strategyConfig:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_strategyConfig - The configuration for the Hyperband optimization strategy. This parameter should be provided only if Hyperband is selected as the strategy for HyperParameterTuningJobConfig.

$sel:trainingJobEarlyStoppingType:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_trainingJobEarlyStoppingType - Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. Because the Hyperband strategy has its own advanced internal early stopping mechanism, TrainingJobEarlyStoppingType must be OFF to use Hyperband. This parameter can take on 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
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.

$sel:tuningJobCompletionCriteria:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_tuningJobCompletionCriteria - The tuning job's completion criteria.

$sel:strategy:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_strategy - Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. For information about search strategies, see How Hyperparameter Tuning Works.

$sel:resourceLimits:HyperParameterTuningJobConfig', hyperParameterTuningJobConfig_resourceLimits - The ResourceLimits object that specifies the maximum number of training and parallel training jobs that can be used for this hyperparameter tuning job.

hyperParameterTuningJobConfig_hyperParameterTuningJobObjective :: Lens' HyperParameterTuningJobConfig (Maybe HyperParameterTuningJobObjective) Source #

The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.

hyperParameterTuningJobConfig_parameterRanges :: Lens' HyperParameterTuningJobConfig (Maybe ParameterRanges) Source #

The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches over to find the optimal configuration for the highest model performance against your chosen objective metric.

hyperParameterTuningJobConfig_randomSeed :: Lens' HyperParameterTuningJobConfig (Maybe Natural) Source #

A value used to initialize a pseudo-random number generator. Setting a random seed and using the same seed later for the same tuning job will allow hyperparameter optimization to find more a consistent hyperparameter configuration between the two runs.

hyperParameterTuningJobConfig_strategyConfig :: Lens' HyperParameterTuningJobConfig (Maybe HyperParameterTuningJobStrategyConfig) Source #

The configuration for the Hyperband optimization strategy. This parameter should be provided only if Hyperband is selected as the strategy for HyperParameterTuningJobConfig.

hyperParameterTuningJobConfig_trainingJobEarlyStoppingType :: Lens' HyperParameterTuningJobConfig (Maybe TrainingJobEarlyStoppingType) Source #

Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. Because the Hyperband strategy has its own advanced internal early stopping mechanism, TrainingJobEarlyStoppingType must be OFF to use Hyperband. This parameter can take on 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
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.

hyperParameterTuningJobConfig_strategy :: Lens' HyperParameterTuningJobConfig HyperParameterTuningJobStrategyType Source #

Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. For information about search strategies, see How Hyperparameter Tuning Works.

hyperParameterTuningJobConfig_resourceLimits :: Lens' HyperParameterTuningJobConfig ResourceLimits Source #

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