[][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

Specifies a limit to how long a model training job can run. When the job reaches the time limit, Amazon SageMaker ends the training job. Use this API 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 can 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 Clone for TrainingJobDefinition[src]

impl Debug for TrainingJobDefinition[src]

impl Default for TrainingJobDefinition[src]

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

impl PartialEq<TrainingJobDefinition> for TrainingJobDefinition[src]

impl Serialize for TrainingJobDefinition[src]

impl StructuralPartialEq for TrainingJobDefinition[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.