Struct aws_sdk_personalize::types::AutoMlConfig
source · #[non_exhaustive]pub struct AutoMlConfig {
pub metric_name: Option<String>,
pub recipe_list: Option<Vec<String>>,
}
Expand description
When the solution performs AutoML (performAutoML
is true in CreateSolution), Amazon Personalize determines which recipe, from the specified list, optimizes the given metric. Amazon Personalize then uses that recipe for the solution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.metric_name: Option<String>
The metric to optimize.
recipe_list: Option<Vec<String>>
The list of candidate recipes.
Implementations§
source§impl AutoMlConfig
impl AutoMlConfig
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The metric to optimize.
sourcepub fn recipe_list(&self) -> &[String]
pub fn recipe_list(&self) -> &[String]
The list of candidate recipes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recipe_list.is_none()
.
source§impl AutoMlConfig
impl AutoMlConfig
sourcepub fn builder() -> AutoMlConfigBuilder
pub fn builder() -> AutoMlConfigBuilder
Creates a new builder-style object to manufacture AutoMlConfig
.
Trait Implementations§
source§impl Clone for AutoMlConfig
impl Clone for AutoMlConfig
source§fn clone(&self) -> AutoMlConfig
fn clone(&self) -> AutoMlConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoMlConfig
impl Debug for AutoMlConfig
source§impl PartialEq for AutoMlConfig
impl PartialEq for AutoMlConfig
source§fn eq(&self, other: &AutoMlConfig) -> bool
fn eq(&self, other: &AutoMlConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoMlConfig
Auto Trait Implementations§
impl RefUnwindSafe for AutoMlConfig
impl Send for AutoMlConfig
impl Sync for AutoMlConfig
impl Unpin for AutoMlConfig
impl UnwindSafe for AutoMlConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.