Values_1.HyperParameterTrainingJobDefinitionSourceDefines the training jobs launched by a hyperparameter tuning job.
type nonrec t = {definitionName : Values_0.HyperParameterTrainingJobDefinitionName.t option;The job definition name.
*)tuningObjective : Values_0.HyperParameterTuningJobObjective.t option;hyperParameterRanges : Values_0.ParameterRanges.t option;staticHyperParameters : Values_0.HyperParameters.t option;Specifies the values of hyperparameters that do not change for the tuning job.
*)algorithmSpecification : HyperParameterAlgorithmSpecification.t;The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.
*)roleArn : Values_0.RoleArn.t;The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
*)inputDataConfig : Values_0.InputDataConfig.t option;An array of Channel objects that specify the input for the training jobs that the tuning job launches.
*)vpcConfig : Values_0.VpcConfig.t option;The VpcConfig object that specifies the VPC that you want the training jobs that this hyperparameter tuning job launches to connect to. Control access to and from your training container by configuring the VPC. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.
*)outputDataConfig : Values_0.OutputDataConfig.t;Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
*)resourceConfig : Values_0.ResourceConfig.t option;The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning job launches. Storage volumes store model artifacts and incremental states. Training algorithms might also use storage volumes for scratch space. If you want SageMaker to use the storage volume to store the training data, choose File as the TrainingInputMode in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1. If you want to use hyperparameter optimization with instance type flexibility, use HyperParameterTuningResourceConfig instead.
*)hyperParameterTuningResourceConfig : Values_0.HyperParameterTuningResourceConfig.t
option;The configuration for the hyperparameter tuning resources, including the compute instances and storage volumes, used for training jobs launched by the tuning job. By default, storage volumes hold model artifacts and incremental states. Choose File for TrainingInputMode in the AlgorithmSpecification parameter to additionally store training data in the storage volume (optional).
*)stoppingCondition : Values_0.StoppingCondition.t;Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.
*)enableNetworkIsolation : Values_0.Boolean.t option;Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If network isolation is used for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.
*)enableInterContainerTrafficEncryption : Values_0.Boolean.t option;To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.
*)enableManagedSpotTraining : Values_0.Boolean.t option;A Boolean indicating whether managed spot training is enabled (True) or not (False).
*)checkpointConfig : Values_0.CheckpointConfig.t option;retryStrategy : Values_0.RetryStrategy.t option;The number of times to retry the job when the job fails due to an InternalServerError.
*)environment : Values_0.HyperParameterTrainingJobEnvironmentMap.t option;An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information. The maximum number of items specified for Map Entries refers to the maximum number of environment variables for each TrainingJobDefinition and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of environment variables for all the training job definitions can't exceed the maximum number specified.
*)}val make :
?definitionName:??? ->
?tuningObjective:??? ->
?hyperParameterRanges:??? ->
?staticHyperParameters:??? ->
?inputDataConfig:??? ->
?vpcConfig:??? ->
?resourceConfig:??? ->
?hyperParameterTuningResourceConfig:??? ->
?enableNetworkIsolation:??? ->
?enableInterContainerTrafficEncryption:??? ->
?enableManagedSpotTraining:??? ->
?checkpointConfig:??? ->
?retryStrategy:??? ->
?environment:??? ->
algorithmSpecification:HyperParameterAlgorithmSpecification.t ->
roleArn:Values_0.RoleArn.t ->
outputDataConfig:Values_0.OutputDataConfig.t ->
stoppingCondition:Values_0.StoppingCondition.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.Boolean.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of string
| `Structure of
(string
* [> `Long of Awso.Import.Int64.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of string ] list
| `String of string
| `Structure of
(string
* [> `Boolean of bool | `String of string ])
list ])
list ])
list ])
list ]
list
| `Map of ([> `String of string ] * [> `String of string ]) list
| `String of Values_0.HyperParameterTrainingJobDefinitionName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of int
| `List of
[> `String of string
| `Structure of
(string
* [> `Enum of string
| `Integer of int
| `List of [> `String of string ] list
| `String of string ])
list ]
list
| `String of string
| `Structure of
(string
* [> `Boolean of bool
| `List of
[> `Structure of
(string * [> `Integer of int | `String of string ])
list ]
list ])
list ])
list ])
list ]