Module Values_0.TrainingJobDefinitionSource

Defines the input needed to run a training job using the algorithm.

Sourcetype nonrec t = {
  1. trainingInputMode : TrainingInputMode.t;
  2. hyperParameters : HyperParameters.t option;
    (*

    The hyperparameters used for the training job.

    *)
  3. inputDataConfig : InputDataConfig.t;
    (*

    An array of Channel objects, each of which specifies an input source.

    *)
  4. outputDataConfig : OutputDataConfig.t;
    (*

    the path to the S3 bucket where you want to store model artifacts. SageMaker creates subfolders for the artifacts.

    *)
  5. resourceConfig : ResourceConfig.t;
    (*

    The resources, including the ML compute instances and ML storage volumes, to use for model training.

    *)
  6. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?hyperParameters:??? -> trainingInputMode:TrainingInputMode.t -> inputDataConfig:InputDataConfig.t -> outputDataConfig:OutputDataConfig.t -> resourceConfig:ResourceConfig.t -> stoppingCondition:StoppingCondition.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t