pub struct HyperParameterAlgorithmSpecification {
pub algorithm_name: Option<String>,
pub metric_definitions: Option<Vec<MetricDefinition>>,
pub training_image: Option<String>,
pub training_input_mode: String,
}
Expand description
Specifies which training algorithm to use for training jobs that a hyperparameter tuning job launches and the metrics to monitor.
Fields
algorithm_name: Option<String>
The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage
.
metric_definitions: Option<Vec<MetricDefinition>>
An array of MetricDefinition objects that specify the metrics that the algorithm emits.
training_image: Option<String>
The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. Amazon SageMaker supports both registry/repository[:tag]
and registry/repository[@digest]
image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.
training_input_mode: String
The input mode that the algorithm supports: File or Pipe. In File input mode, Amazon SageMaker downloads the training data from Amazon S3 to the storage volume that is attached to the training instance and mounts the directory to the Docker volume for the training container. In Pipe input mode, Amazon SageMaker streams data directly from Amazon S3 to the container.
If you specify File mode, make sure that you provision the storage volume that is attached to the training instance with enough capacity to accommodate the training data downloaded from Amazon S3, the model artifacts, and intermediate information.
For more information about input modes, see Algorithms.
Trait Implementations
sourceimpl Clone for HyperParameterAlgorithmSpecification
impl Clone for HyperParameterAlgorithmSpecification
sourcefn clone(&self) -> HyperParameterAlgorithmSpecification
fn clone(&self) -> HyperParameterAlgorithmSpecification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for HyperParameterAlgorithmSpecification
impl Default for HyperParameterAlgorithmSpecification
sourcefn default() -> HyperParameterAlgorithmSpecification
fn default() -> HyperParameterAlgorithmSpecification
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HyperParameterAlgorithmSpecification
impl<'de> Deserialize<'de> for HyperParameterAlgorithmSpecification
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HyperParameterAlgorithmSpecification> for HyperParameterAlgorithmSpecification
impl PartialEq<HyperParameterAlgorithmSpecification> for HyperParameterAlgorithmSpecification
sourcefn eq(&self, other: &HyperParameterAlgorithmSpecification) -> bool
fn eq(&self, other: &HyperParameterAlgorithmSpecification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HyperParameterAlgorithmSpecification) -> bool
fn ne(&self, other: &HyperParameterAlgorithmSpecification) -> bool
This method tests for !=
.
impl StructuralPartialEq for HyperParameterAlgorithmSpecification
Auto Trait Implementations
impl RefUnwindSafe for HyperParameterAlgorithmSpecification
impl Send for HyperParameterAlgorithmSpecification
impl Sync for HyperParameterAlgorithmSpecification
impl Unpin for HyperParameterAlgorithmSpecification
impl UnwindSafe for HyperParameterAlgorithmSpecification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more