Struct aws_sdk_personalize::model::Algorithm
source · [−]#[non_exhaustive]pub struct Algorithm {
pub name: Option<String>,
pub algorithm_arn: Option<String>,
pub algorithm_image: Option<AlgorithmImage>,
pub default_hyper_parameters: Option<HashMap<String, String>>,
pub default_hyper_parameter_ranges: Option<DefaultHyperParameterRanges>,
pub default_resource_config: Option<HashMap<String, String>>,
pub training_input_mode: Option<String>,
pub role_arn: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
}
Expand description
Describes a custom algorithm.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the algorithm.
algorithm_arn: Option<String>
The Amazon Resource Name (ARN) of the algorithm.
algorithm_image: Option<AlgorithmImage>
The URI of the Docker container for the algorithm image.
default_hyper_parameters: Option<HashMap<String, String>>
Specifies the default hyperparameters.
default_hyper_parameter_ranges: Option<DefaultHyperParameterRanges>
Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
default_resource_config: Option<HashMap<String, String>>
Specifies the default maximum number of training jobs and parallel training jobs.
training_input_mode: Option<String>
The training input mode.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the role.
creation_date_time: Option<DateTime>
The date and time (in Unix time) that the algorithm was created.
last_updated_date_time: Option<DateTime>
The date and time (in Unix time) that the algorithm was last updated.
Implementations
sourceimpl Algorithm
impl Algorithm
sourcepub fn algorithm_arn(&self) -> Option<&str>
pub fn algorithm_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the algorithm.
sourcepub fn algorithm_image(&self) -> Option<&AlgorithmImage>
pub fn algorithm_image(&self) -> Option<&AlgorithmImage>
The URI of the Docker container for the algorithm image.
sourcepub fn default_hyper_parameters(&self) -> Option<&HashMap<String, String>>
pub fn default_hyper_parameters(&self) -> Option<&HashMap<String, String>>
Specifies the default hyperparameters.
sourcepub fn default_hyper_parameter_ranges(
&self
) -> Option<&DefaultHyperParameterRanges>
pub fn default_hyper_parameter_ranges(
&self
) -> Option<&DefaultHyperParameterRanges>
Specifies the default hyperparameters, their ranges, and whether they are tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
sourcepub fn default_resource_config(&self) -> Option<&HashMap<String, String>>
pub fn default_resource_config(&self) -> Option<&HashMap<String, String>>
Specifies the default maximum number of training jobs and parallel training jobs.
sourcepub fn training_input_mode(&self) -> Option<&str>
pub fn training_input_mode(&self) -> Option<&str>
The training input mode.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the algorithm was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time (in Unix time) that the algorithm was last updated.
Trait Implementations
impl StructuralPartialEq for Algorithm
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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