@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HyperParameterTrainingJobDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Defines the training jobs launched by a hyperparameter tuning job.
Constructor and Description |
---|
HyperParameterTrainingJobDefinition() |
Modifier and Type | Method and Description |
---|---|
HyperParameterTrainingJobDefinition |
addStaticHyperParametersEntry(String key,
String value) |
HyperParameterTrainingJobDefinition |
clearStaticHyperParametersEntries()
Removes all the entries added into StaticHyperParameters.
|
HyperParameterTrainingJobDefinition |
clone() |
boolean |
equals(Object obj) |
HyperParameterAlgorithmSpecification |
getAlgorithmSpecification()
The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the training jobs
that the tuning job launches.
|
List<Channel> |
getInputDataConfig()
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
|
OutputDataConfig |
getOutputDataConfig()
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning
job launches.
|
ResourceConfig |
getResourceConfig()
The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning
job launches.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
|
Map<String,String> |
getStaticHyperParameters()
Specifies the values of hyperparameters that do not change for the tuning job.
|
StoppingCondition |
getStoppingCondition()
Sets a maximum duration for the training jobs that the tuning job launches.
|
VpcConfig |
getVpcConfig()
The VpcConfig object that specifies the VPC that you want the training jobs that this hyperparameter
tuning job launches to connect to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithmSpecification(HyperParameterAlgorithmSpecification algorithmSpecification)
The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the training jobs
that the tuning job launches.
|
void |
setInputDataConfig(Collection<Channel> inputDataConfig)
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning
job launches.
|
void |
setResourceConfig(ResourceConfig resourceConfig)
The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning
job launches.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
|
void |
setStaticHyperParameters(Map<String,String> staticHyperParameters)
Specifies the values of hyperparameters that do not change for the tuning job.
|
void |
setStoppingCondition(StoppingCondition stoppingCondition)
Sets a maximum duration for the training jobs that the tuning job launches.
|
void |
setVpcConfig(VpcConfig vpcConfig)
The VpcConfig object that specifies the VPC that you want the training jobs that this hyperparameter
tuning job launches to connect to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
HyperParameterTrainingJobDefinition |
withAlgorithmSpecification(HyperParameterAlgorithmSpecification algorithmSpecification)
The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the training jobs
that the tuning job launches.
|
HyperParameterTrainingJobDefinition |
withInputDataConfig(Channel... inputDataConfig)
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
|
HyperParameterTrainingJobDefinition |
withInputDataConfig(Collection<Channel> inputDataConfig)
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
|
HyperParameterTrainingJobDefinition |
withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning
job launches.
|
HyperParameterTrainingJobDefinition |
withResourceConfig(ResourceConfig resourceConfig)
The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning
job launches.
|
HyperParameterTrainingJobDefinition |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
|
HyperParameterTrainingJobDefinition |
withStaticHyperParameters(Map<String,String> staticHyperParameters)
Specifies the values of hyperparameters that do not change for the tuning job.
|
HyperParameterTrainingJobDefinition |
withStoppingCondition(StoppingCondition stoppingCondition)
Sets a maximum duration for the training jobs that the tuning job launches.
|
HyperParameterTrainingJobDefinition |
withVpcConfig(VpcConfig vpcConfig)
The VpcConfig object that specifies the VPC that you want the training jobs that this hyperparameter
tuning job launches to connect to.
|
public Map<String,String> getStaticHyperParameters()
Specifies the values of hyperparameters that do not change for the tuning job.
public void setStaticHyperParameters(Map<String,String> staticHyperParameters)
Specifies the values of hyperparameters that do not change for the tuning job.
staticHyperParameters
- Specifies the values of hyperparameters that do not change for the tuning job.public HyperParameterTrainingJobDefinition withStaticHyperParameters(Map<String,String> staticHyperParameters)
Specifies the values of hyperparameters that do not change for the tuning job.
staticHyperParameters
- Specifies the values of hyperparameters that do not change for the tuning job.public HyperParameterTrainingJobDefinition addStaticHyperParametersEntry(String key, String value)
public HyperParameterTrainingJobDefinition clearStaticHyperParametersEntries()
public void setAlgorithmSpecification(HyperParameterAlgorithmSpecification algorithmSpecification)
The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the training jobs that the tuning job launches.
algorithmSpecification
- The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the
training jobs that the tuning job launches.public HyperParameterAlgorithmSpecification getAlgorithmSpecification()
The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the training jobs that the tuning job launches.
public HyperParameterTrainingJobDefinition withAlgorithmSpecification(HyperParameterAlgorithmSpecification algorithmSpecification)
The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the training jobs that the tuning job launches.
algorithmSpecification
- The HyperParameterAlgorithmSpecification object that specifies the algorithm to use for the
training jobs that the tuning job launches.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job
launches.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
public HyperParameterTrainingJobDefinition withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job
launches.public List<Channel> getInputDataConfig()
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
public void setInputDataConfig(Collection<Channel> inputDataConfig)
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
inputDataConfig
- An array of Channel objects that specify the input for the training jobs that the tuning job
launches.public HyperParameterTrainingJobDefinition withInputDataConfig(Channel... inputDataConfig)
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
NOTE: This method appends the values to the existing list (if any). Use
setInputDataConfig(java.util.Collection)
or withInputDataConfig(java.util.Collection)
if you
want to override the existing values.
inputDataConfig
- An array of Channel objects that specify the input for the training jobs that the tuning job
launches.public HyperParameterTrainingJobDefinition withInputDataConfig(Collection<Channel> inputDataConfig)
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
inputDataConfig
- An array of Channel objects that specify the input for the training jobs that the tuning job
launches.public void setVpcConfig(VpcConfig vpcConfig)
public VpcConfig getVpcConfig()
public HyperParameterTrainingJobDefinition withVpcConfig(VpcConfig vpcConfig)
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 train-vpc.
vpcConfig
- 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 train-vpc.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
outputDataConfig
- Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the
tuning job launches.public OutputDataConfig getOutputDataConfig()
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
public HyperParameterTrainingJobDefinition withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
outputDataConfig
- Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the
tuning job launches.public void setResourceConfig(ResourceConfig resourceConfig)
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.
resourceConfig
- 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.
public ResourceConfig getResourceConfig()
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.
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.
public HyperParameterTrainingJobDefinition withResourceConfig(ResourceConfig resourceConfig)
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.
resourceConfig
- 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.
public void setStoppingCondition(StoppingCondition stoppingCondition)
Sets a maximum duration for the training jobs that the tuning job launches. Use this parameter to limit model training costs.
To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
signal. This delays job termination
for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.
When Amazon SageMaker terminates a job because the stopping condition has been met, training algorithms provided by Amazon SageMaker save the intermediate results of the job.
stoppingCondition
- Sets a maximum duration for the training jobs that the tuning job launches. Use this parameter to limit
model training costs.
To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
signal. This delays job
termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.
When Amazon SageMaker terminates a job because the stopping condition has been met, training algorithms provided by Amazon SageMaker save the intermediate results of the job.
public StoppingCondition getStoppingCondition()
Sets a maximum duration for the training jobs that the tuning job launches. Use this parameter to limit model training costs.
To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
signal. This delays job termination
for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.
When Amazon SageMaker terminates a job because the stopping condition has been met, training algorithms provided by Amazon SageMaker save the intermediate results of the job.
To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
signal. This delays job
termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.
When Amazon SageMaker terminates a job because the stopping condition has been met, training algorithms provided by Amazon SageMaker save the intermediate results of the job.
public HyperParameterTrainingJobDefinition withStoppingCondition(StoppingCondition stoppingCondition)
Sets a maximum duration for the training jobs that the tuning job launches. Use this parameter to limit model training costs.
To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
signal. This delays job termination
for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.
When Amazon SageMaker terminates a job because the stopping condition has been met, training algorithms provided by Amazon SageMaker save the intermediate results of the job.
stoppingCondition
- Sets a maximum duration for the training jobs that the tuning job launches. Use this parameter to limit
model training costs.
To stop a job, Amazon SageMaker sends the algorithm the SIGTERM
signal. This delays job
termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.
When Amazon SageMaker terminates a job because the stopping condition has been met, training algorithms provided by Amazon SageMaker save the intermediate results of the job.
public String toString()
toString
in class Object
Object.toString()
public HyperParameterTrainingJobDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.