Values_0.HyperParameterTuningJobConfigSourceConfigures a hyperparameter tuning job.
type nonrec t = {strategy : HyperParameterTuningJobStrategyType.t;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.
*)strategyConfig : HyperParameterTuningJobStrategyConfig.t option;The configuration for the Hyperband optimization strategy. This parameter should be provided only if Hyperband is selected as the strategy for HyperParameterTuningJobConfig.
*)hyperParameterTuningJobObjective : HyperParameterTuningJobObjective.t option;The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.
*)resourceLimits : ResourceLimits.t;The ResourceLimits object that specifies the maximum number of training and parallel training jobs that can be used for this hyperparameter tuning job.
*)parameterRanges : ParameterRanges.t option;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.
*)trainingJobEarlyStoppingType : TrainingJobEarlyStoppingType.t option;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 : TuningJobCompletionCriteria.t option;The tuning job's completion criteria.
*)randomSeed : RandomSeed.t option;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.
*)}val make :
?strategyConfig:??? ->
?hyperParameterTuningJobObjective:??? ->
?parameterRanges:??? ->
?trainingJobEarlyStoppingType:??? ->
?tuningJobCompletionCriteria:??? ->
?randomSeed:??? ->
strategy:HyperParameterTuningJobStrategyType.t ->
resourceLimits:ResourceLimits.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of RandomSeed.t
| `Structure of
(string
* [> `Enum of string
| `Float of TargetObjectiveMetricValue.t
| `Integer of MaxNumberOfTrainingJobs.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of ParameterValue.t ] list
| `String of ParameterKey.t ])
list ]
list
| `String of MetricName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of HyperbandStrategyMinResource.t ])
list ])
list ])
list ]