@Stability(value=Experimental) public static final class SagemakerTrainTask.Builder extends Object
SagemakerTrainTask.| Modifier and Type | Method and Description |
|---|---|
SagemakerTrainTask.Builder |
algorithmSpecification(AlgorithmSpecification algorithmSpecification)
Identifies the training algorithm to use.
|
SagemakerTrainTask |
build() |
static SagemakerTrainTask.Builder |
create()
EXPERIMENTAL
|
SagemakerTrainTask.Builder |
hyperparameters(Map<String,Object> hyperparameters)
Hyperparameters to be used for the train job.
|
SagemakerTrainTask.Builder |
inputDataConfig(List<Channel> inputDataConfig)
Describes the various datasets (e.g.
|
SagemakerTrainTask.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
The service integration pattern indicates different ways to call SageMaker APIs.
|
SagemakerTrainTask.Builder |
outputDataConfig(OutputDataConfig outputDataConfig)
Identifies the Amazon S3 location where you want Amazon SageMaker to save the results of model training.
|
SagemakerTrainTask.Builder |
resourceConfig(ResourceConfig resourceConfig)
Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training.
|
SagemakerTrainTask.Builder |
role(IRole role)
Role for the Training Job.
|
SagemakerTrainTask.Builder |
stoppingCondition(StoppingCondition stoppingCondition)
Sets a time limit for training.
|
SagemakerTrainTask.Builder |
tags(Map<String,String> tags)
Tags to be applied to the train job.
|
SagemakerTrainTask.Builder |
trainingJobName(String trainingJobName)
Training Job Name.
|
SagemakerTrainTask.Builder |
vpcConfig(VpcConfig vpcConfig)
Specifies the VPC that you want your training job to connect to.
|
@Stability(value=Experimental) public static SagemakerTrainTask.Builder create()
SagemakerTrainTask.Builder.@Stability(value=Experimental) public SagemakerTrainTask.Builder algorithmSpecification(AlgorithmSpecification algorithmSpecification)
EXPERIMENTAL
algorithmSpecification - Identifies the training algorithm to use. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder inputDataConfig(List<Channel> inputDataConfig)
EXPERIMENTAL
inputDataConfig - Describes the various datasets (e.g. train, validation, test) and the Amazon S3 location where stored. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder outputDataConfig(OutputDataConfig outputDataConfig)
EXPERIMENTAL
outputDataConfig - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results of model training. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder trainingJobName(String trainingJobName)
EXPERIMENTAL
trainingJobName - Training Job Name. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder hyperparameters(Map<String,Object> hyperparameters)
EXPERIMENTAL
hyperparameters - Hyperparameters to be used for the train job. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or SYNC.
Default: FIRE_AND_FORGET
EXPERIMENTAL
integrationPattern - The service integration pattern indicates different ways to call SageMaker APIs. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder resourceConfig(ResourceConfig resourceConfig)
EXPERIMENTAL
resourceConfig - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder role(IRole role)
The role must be granted all necessary permissions for the SageMaker training job to be able to operate.
See https://docs.aws.amazon.com/fr_fr/sagemaker/latest/dg/sagemaker-roles.html#sagemaker-roles-createtrainingjob-perms
Default: - a role with appropriate permissions will be created.
EXPERIMENTAL
role - Role for the Training Job. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder stoppingCondition(StoppingCondition stoppingCondition)
EXPERIMENTAL
stoppingCondition - Sets a time limit for training. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder tags(Map<String,String> tags)
EXPERIMENTAL
tags - Tags to be applied to the train job. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask.Builder vpcConfig(VpcConfig vpcConfig)
EXPERIMENTAL
vpcConfig - Specifies the VPC that you want your training job to connect to. This parameter is required.this@Stability(value=Experimental) public SagemakerTrainTask build()
Copyright © 2020. All rights reserved.