[][src]Struct rusoto_sagemaker::HyperParameterTrainingJobDefinition

pub struct HyperParameterTrainingJobDefinition {
    pub algorithm_specification: HyperParameterAlgorithmSpecification,
    pub enable_inter_container_traffic_encryption: Option<bool>,
    pub enable_network_isolation: Option<bool>,
    pub input_data_config: Option<Vec<Channel>>,
    pub output_data_config: OutputDataConfig,
    pub resource_config: ResourceConfig,
    pub role_arn: String,
    pub static_hyper_parameters: Option<HashMap<String, String>>,
    pub stopping_condition: StoppingCondition,
    pub vpc_config: Option<VpcConfig>,
}

Defines the training jobs launched by a hyperparameter tuning job.

Fields

algorithm_specification: HyperParameterAlgorithmSpecification

The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.

enable_inter_container_traffic_encryption: Option<bool>

To encrypt all communications between ML compute instances in distributed training, specify True. Encryption provides greater security for distributed training, but training take longer because of the additional communications between ML compute instances.

enable_network_isolation: Option<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.

The Semantic Segmentation built-in algorithm does not support network isolation.

input_data_config: Option<Vec<Channel>>

An array of Channel objects that specify the input for the training jobs that the tuning job launches.

output_data_config: OutputDataConfig

Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.

resource_config: 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.

role_arn: String

The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.

static_hyper_parameters: Option<HashMap<String, String>>

Specifies the values of hyperparameters that do not change for the tuning job.

stopping_condition: 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.

vpc_config: Option<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 Protect Training Jobs by Using an Amazon Virtual Private Cloud.

Trait Implementations

impl PartialEq<HyperParameterTrainingJobDefinition> for HyperParameterTrainingJobDefinition[src]

impl Default for HyperParameterTrainingJobDefinition[src]

impl Clone for HyperParameterTrainingJobDefinition[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HyperParameterTrainingJobDefinition[src]

impl<'de> Deserialize<'de> for HyperParameterTrainingJobDefinition[src]

impl Serialize for HyperParameterTrainingJobDefinition[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self