HyperParameterTrainingJobDefinition
public struct HyperParameterTrainingJobDefinition : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.
Declaration
Swift
public let algorithmSpecification: HyperParameterAlgorithmSpecification
-
Undocumented
Declaration
Swift
public let checkpointConfig: CheckpointConfig?
-
The job definition name.
Declaration
Swift
public let definitionName: String?
-
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.
Declaration
Swift
public let enableInterContainerTrafficEncryption: Bool?
-
A Boolean indicating whether managed spot training is enabled (True) or not (False).
Declaration
Swift
public let enableManagedSpotTraining: Bool?
-
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, Amazon SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.
Declaration
Swift
public let enableNetworkIsolation: Bool?
-
Undocumented
Declaration
Swift
public let hyperParameterRanges: ParameterRanges?
-
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
Declaration
Swift
public let inputDataConfig: [Channel]?
-
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
Declaration
Swift
public let outputDataConfig: OutputDataConfig
-
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 Amazon 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.
Declaration
Swift
public let resourceConfig: ResourceConfig
-
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
Declaration
Swift
public let roleArn: String
-
Specifies the values of hyperparameters that do not change for the tuning job.
Declaration
Swift
public let staticHyperParameters: [String : String]?
-
Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long you are willing to wait for a managed spot training job to complete. When the job reaches the a limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.
Declaration
Swift
public let stoppingCondition: StoppingCondition
-
Undocumented
Declaration
Swift
public let tuningObjective: HyperParameterTuningJobObjective?
-
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.
Declaration
Swift
public let vpcConfig: VpcConfig?
-
init(algorithmSpecification:checkpointConfig:definitionName:enableInterContainerTrafficEncryption:enableManagedSpotTraining:enableNetworkIsolation:hyperParameterRanges:inputDataConfig:outputDataConfig:resourceConfig:roleArn:staticHyperParameters:stoppingCondition:tuningObjective:vpcConfig:)
Undocumented
Declaration
Swift
public init(algorithmSpecification: HyperParameterAlgorithmSpecification, checkpointConfig: CheckpointConfig? = nil, definitionName: String? = nil, enableInterContainerTrafficEncryption: Bool? = nil, enableManagedSpotTraining: Bool? = nil, enableNetworkIsolation: Bool? = nil, hyperParameterRanges: ParameterRanges? = nil, inputDataConfig: [Channel]? = nil, outputDataConfig: OutputDataConfig, resourceConfig: ResourceConfig, roleArn: String, staticHyperParameters: [String : String]? = nil, stoppingCondition: StoppingCondition, tuningObjective: HyperParameterTuningJobObjective? = nil, vpcConfig: VpcConfig? = nil)
-
Declaration
Swift
public func validate(name: String) throws