Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data HyperParameterTuningJobConfig = HyperParameterTuningJobConfig' {
- tuningJobCompletionCriteria :: Maybe TuningJobCompletionCriteria
- parameterRanges :: Maybe ParameterRanges
- hyperParameterTuningJobObjective :: Maybe HyperParameterTuningJobObjective
- trainingJobEarlyStoppingType :: Maybe TrainingJobEarlyStoppingType
- strategy :: HyperParameterTuningJobStrategyType
- resourceLimits :: ResourceLimits
- newHyperParameterTuningJobConfig :: HyperParameterTuningJobStrategyType -> ResourceLimits -> HyperParameterTuningJobConfig
- hyperParameterTuningJobConfig_tuningJobCompletionCriteria :: Lens' HyperParameterTuningJobConfig (Maybe TuningJobCompletionCriteria)
- hyperParameterTuningJobConfig_parameterRanges :: Lens' HyperParameterTuningJobConfig (Maybe ParameterRanges)
- hyperParameterTuningJobConfig_hyperParameterTuningJobObjective :: Lens' HyperParameterTuningJobConfig (Maybe HyperParameterTuningJobObjective)
- hyperParameterTuningJobConfig_trainingJobEarlyStoppingType :: Lens' HyperParameterTuningJobConfig (Maybe TrainingJobEarlyStoppingType)
- hyperParameterTuningJobConfig_strategy :: Lens' HyperParameterTuningJobConfig HyperParameterTuningJobStrategyType
- hyperParameterTuningJobConfig_resourceLimits :: Lens' HyperParameterTuningJobConfig ResourceLimits
Documentation
data HyperParameterTuningJobConfig Source #
Configures a hyperparameter tuning job.
See: newHyperParameterTuningJobConfig
smart constructor.
HyperParameterTuningJobConfig' | |
|
Instances
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:tuningJobCompletionCriteria:HyperParameterTuningJobConfig'
, hyperParameterTuningJobConfig_tuningJobCompletionCriteria
- The tuning job's completion criteria.
$sel:parameterRanges:HyperParameterTuningJobConfig'
, hyperParameterTuningJobConfig_parameterRanges
- The ParameterRanges object that specifies the ranges of hyperparameters
that this tuning job searches.
$sel:hyperParameterTuningJobObjective:HyperParameterTuningJobConfig'
, hyperParameterTuningJobConfig_hyperParameterTuningJobObjective
- The HyperParameterTuningJobObjective object that specifies the objective
metric for this tuning job.
$sel:trainingJobEarlyStoppingType:HyperParameterTuningJobConfig'
, hyperParameterTuningJobConfig_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.
$sel:strategy:HyperParameterTuningJobConfig'
, hyperParameterTuningJobConfig_strategy
- Specifies how hyperparameter tuning chooses the combinations of
hyperparameter values to use for the training job it launches. To use
the Bayesian search strategy, set this to Bayesian
. To randomly
search, set it to Random
. 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
jobs and parallel training jobs for this tuning job.
hyperParameterTuningJobConfig_tuningJobCompletionCriteria :: Lens' HyperParameterTuningJobConfig (Maybe TuningJobCompletionCriteria) Source #
The tuning job's completion criteria.
hyperParameterTuningJobConfig_parameterRanges :: Lens' HyperParameterTuningJobConfig (Maybe ParameterRanges) Source #
The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches.
hyperParameterTuningJobConfig_hyperParameterTuningJobObjective :: Lens' HyperParameterTuningJobConfig (Maybe HyperParameterTuningJobObjective) Source #
The HyperParameterTuningJobObjective object that specifies the objective metric for this tuning job.
hyperParameterTuningJobConfig_trainingJobEarlyStoppingType :: Lens' HyperParameterTuningJobConfig (Maybe TrainingJobEarlyStoppingType) Source #
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.
hyperParameterTuningJobConfig_strategy :: Lens' HyperParameterTuningJobConfig HyperParameterTuningJobStrategyType Source #
Specifies how hyperparameter tuning chooses the combinations of
hyperparameter values to use for the training job it launches. To use
the Bayesian search strategy, set this to Bayesian
. To randomly
search, set it to Random
. 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 jobs and parallel training jobs for this tuning job.