@Stability(value=Experimental) public static final class SagemakerTrainTaskProps.Builder extends Object
SagemakerTrainTaskProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withAlgorithmSpecification(AlgorithmSpecification value)
value - Identifies the training algorithm to use.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withInputDataConfig(List<Channel> value)
value - Describes the various datasets (e.g. train, validation, test) and the Amazon S3 location where stored.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withOutputDataConfig(OutputDataConfig value)
value - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results of model training.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withTrainingJobName(String value)
value - Training Job Name.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withHyperparameters(@Nullable Map<String,Object> value)
value - Hyperparameters to be used for the train job.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withResourceConfig(@Nullable ResourceConfig value)
value - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withRole(@Nullable software.amazon.awscdk.services.iam.IRole value)
value - Role for the Training Job.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withStoppingCondition(@Nullable StoppingCondition value)
value - Sets a time limit for training.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withSynchronous(@Nullable Boolean value)
value - Specify if the task is synchronous or asychronous.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withTags(@Nullable Map<String,Object> value)
value - Tags to be applied to the train job.this@Stability(value=Experimental) public SagemakerTrainTaskProps.Builder withVpcConfig(@Nullable VpcConfig value)
value - Specifies the VPC that you want your training job to connect to.this@Stability(value=Experimental) public SagemakerTrainTaskProps build()
SagemakerTrainTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.