[][src]Struct rusoto_sagemaker::TrainingJobDefinition

pub struct TrainingJobDefinition {
    pub hyper_parameters: Option<HashMap<String, String>>,
    pub input_data_config: Vec<Channel>,
    pub output_data_config: OutputDataConfig,
    pub resource_config: ResourceConfig,
    pub stopping_condition: StoppingCondition,
    pub training_input_mode: String,
}

Defines the input needed to run a training job using the algorithm.

Fields

hyper_parameters: Option<HashMap<String, String>>

The hyperparameters used for the training job.

input_data_config: Vec<Channel>

An array of Channel objects, each of which specifies an input source.

output_data_config: OutputDataConfig

the path to the S3 bucket where you want to store model artifacts. Amazon SageMaker creates subfolders for the artifacts.

resource_config: ResourceConfig

The resources, including the ML compute instances and ML storage volumes, to use for model training.

stopping_condition: StoppingCondition

Sets a duration for training. Use this parameter to cap model training costs.

To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts.

training_input_mode: String

The input mode used by the algorithm for the training job. For the input modes that Amazon SageMaker algorithms support, see Algorithms.

If an algorithm supports the File input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports the Pipe input mode, Amazon SageMaker streams data directly from S3 to the container.

Trait Implementations

impl PartialEq<TrainingJobDefinition> for TrainingJobDefinition[src]

impl Default for TrainingJobDefinition[src]

impl Clone for TrainingJobDefinition[src]

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

Performs copy-assignment from source. Read more

impl Debug for TrainingJobDefinition[src]

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

impl Serialize for TrainingJobDefinition[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