Values_0.TrainingJobDefinitionSourceDefines the input needed to run a training job using the algorithm.
type nonrec t = {trainingInputMode : TrainingInputMode.t;hyperParameters : HyperParameters.t option;The hyperparameters used for the training job.
*)inputDataConfig : InputDataConfig.t;An array of Channel objects, each of which specifies an input source.
*)outputDataConfig : OutputDataConfig.t;the path to the S3 bucket where you want to store model artifacts. SageMaker creates subfolders for the artifacts.
*)resourceConfig : ResourceConfig.t;The resources, including the ML compute instances and ML storage volumes, to use for model training.
*)stoppingCondition : StoppingCondition.t;Specifies a limit to how long a model 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. To stop a job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts.
*)}val make :
?hyperParameters:??? ->
trainingInputMode:TrainingInputMode.t ->
inputDataConfig:InputDataConfig.t ->
outputDataConfig:OutputDataConfig.t ->
resourceConfig:ResourceConfig.t ->
stoppingCondition:StoppingCondition.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of ChannelName.t
| `Structure of
(string
* [> `Long of Seed.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of AttributeName.t ] list
| `String of S3Uri.t
| `Structure of
(string
* [> `Boolean of AcceptEula.t
| `String of HubContentArn.t ])
list ])
list ])
list ])
list ]
list
| `Map of
([> `String of HyperParameterKey.t ]
* [> `String of HyperParameterValue.t ])
list
| `Structure of
(string
* [> `Enum of string
| `Integer of TrainingInstanceCount.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Integer of TrainingInstanceCount.t
| `String of InstanceGroupName.t ])
list ]
list
| `String of KmsKeyId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `Structure of
(string
* [> `Integer of TrainingInstanceCount.t
| `String of String256.t ])
list ]
list ])
list ])
list ])
list ]