Struct aws_sdk_personalize::types::HpoObjective
source · #[non_exhaustive]pub struct HpoObjective {
pub type: Option<String>,
pub metric_name: Option<String>,
pub metric_regex: Option<String>,
}
Expand description
The metric to optimize during hyperparameter optimization (HPO).
Amazon Personalize doesn't support configuring the hpoObjective
at this time.
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.type: Option<String>
The type of the metric. Valid values are Maximize
and Minimize
.
metric_name: Option<String>
The name of the metric.
metric_regex: Option<String>
A regular expression for finding the metric in the training job logs.
Implementations§
source§impl HpoObjective
impl HpoObjective
source§impl HpoObjective
impl HpoObjective
sourcepub fn builder() -> HpoObjectiveBuilder
pub fn builder() -> HpoObjectiveBuilder
Creates a new builder-style object to manufacture HpoObjective
.
Trait Implementations§
source§impl Clone for HpoObjective
impl Clone for HpoObjective
source§fn clone(&self) -> HpoObjective
fn clone(&self) -> HpoObjective
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 HpoObjective
impl Debug for HpoObjective
source§impl PartialEq for HpoObjective
impl PartialEq for HpoObjective
source§fn eq(&self, other: &HpoObjective) -> bool
fn eq(&self, other: &HpoObjective) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HpoObjective
Auto Trait Implementations§
impl RefUnwindSafe for HpoObjective
impl Send for HpoObjective
impl Sync for HpoObjective
impl Unpin for HpoObjective
impl UnwindSafe for HpoObjective
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.