Struct aws_sdk_sagemaker::types::MetricDatum
source · #[non_exhaustive]pub struct MetricDatum {
pub metric_name: Option<AutoMlMetricEnum>,
pub standard_metric_name: Option<AutoMlMetricExtendedEnum>,
pub value: Option<f32>,
pub set: Option<MetricSetSource>,
}
Expand description
Information about the metric for a candidate produced by an AutoML job.
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<AutoMlMetricEnum>
The name of the metric.
standard_metric_name: Option<AutoMlMetricExtendedEnum>
The name of the standard metric.
For definitions of the standard metrics, see Autopilot candidate metrics
.
value: Option<f32>
The value of the metric.
set: Option<MetricSetSource>
The dataset split from which the AutoML job produced the metric.
Implementations§
source§impl MetricDatum
impl MetricDatum
sourcepub fn metric_name(&self) -> Option<&AutoMlMetricEnum>
pub fn metric_name(&self) -> Option<&AutoMlMetricEnum>
The name of the metric.
sourcepub fn standard_metric_name(&self) -> Option<&AutoMlMetricExtendedEnum>
pub fn standard_metric_name(&self) -> Option<&AutoMlMetricExtendedEnum>
The name of the standard metric.
For definitions of the standard metrics, see Autopilot candidate metrics
.
sourcepub fn set(&self) -> Option<&MetricSetSource>
pub fn set(&self) -> Option<&MetricSetSource>
The dataset split from which the AutoML job produced the metric.
source§impl MetricDatum
impl MetricDatum
sourcepub fn builder() -> MetricDatumBuilder
pub fn builder() -> MetricDatumBuilder
Creates a new builder-style object to manufacture MetricDatum
.
Trait Implementations§
source§impl Clone for MetricDatum
impl Clone for MetricDatum
source§fn clone(&self) -> MetricDatum
fn clone(&self) -> MetricDatum
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 MetricDatum
impl Debug for MetricDatum
source§impl PartialEq for MetricDatum
impl PartialEq for MetricDatum
source§fn eq(&self, other: &MetricDatum) -> bool
fn eq(&self, other: &MetricDatum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MetricDatum
Auto Trait Implementations§
impl Freeze for MetricDatum
impl RefUnwindSafe for MetricDatum
impl Send for MetricDatum
impl Sync for MetricDatum
impl Unpin for MetricDatum
impl UnwindSafe for MetricDatum
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.