Struct aws_sdk_sagemaker::model::hyper_parameter_training_job_definition::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for HyperParameterTrainingJobDefinition
Implementations
The job definition name.
The job definition name.
Defines the objective metric for a hyperparameter tuning job.
Hyperparameter
tuning uses the value of this metric to evaluate the training jobs it launches, and
returns the training job that results in either the highest or lowest value for this
metric, depending on the value you specify for the Type
parameter.
Defines the objective metric for a hyperparameter tuning job.
Hyperparameter
tuning uses the value of this metric to evaluate the training jobs it launches, and
returns the training job that results in either the highest or lowest value for this
metric, depending on the value you specify for the Type
parameter.
Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.
You can specify a maximum of 20 hyperparameters that a hyperparameter tuning job can search over. Every possible value of a categorical parameter range counts against this limit.
Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.
You can specify a maximum of 20 hyperparameters that a hyperparameter tuning job can search over. Every possible value of a categorical parameter range counts against this limit.
Adds a key-value pair to static_hyper_parameters
.
To override the contents of this collection use set_static_hyper_parameters
.
Specifies the values of hyperparameters that do not change for the tuning job.
Specifies the values of hyperparameters that do not change for the tuning job.
The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.
pub fn set_algorithm_specification(
self,
input: Option<HyperParameterAlgorithmSpecification>
) -> Self
pub fn set_algorithm_specification(
self,
input: Option<HyperParameterAlgorithmSpecification>
) -> Self
The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.
Appends an item to input_data_config
.
To override the contents of this collection use set_input_data_config
.
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
An array of Channel objects that specify the input for the training jobs that the tuning job launches.
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.
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.
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.
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.
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.
Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.
Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API to cap model training costs.
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.
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.
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.
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.
A Boolean indicating whether managed spot training is enabled (True
) or
not (False
).
A Boolean indicating whether managed spot training is enabled (True
) or
not (False
).
Contains information about the output location for managed spot training checkpoint data.
Contains information about the output location for managed spot training checkpoint data.
The number of times to retry the job when the job fails due to an
InternalServerError
.
The number of times to retry the job when the job fails due to an
InternalServerError
.
Consumes the builder and constructs a HyperParameterTrainingJobDefinition
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more