Struct aws_sdk_sagemaker::types::MetricDatum
source · #[non_exhaustive]pub struct MetricDatum {
pub metric_name: Option<AutoMlMetricEnum>,
pub value: f32,
pub set: Option<MetricSetSource>,
pub standard_metric_name: Option<AutoMlMetricExtendedEnum>,
}
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.
value: f32
The value of the metric.
set: Option<MetricSetSource>
The dataset split from which the AutoML job produced the metric.
standard_metric_name: Option<AutoMlMetricExtendedEnum>
The name of the standard metric.
For definitions of the standard metrics, see Autopilot candidate metrics
.
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 set(&self) -> Option<&MetricSetSource>
pub fn set(&self) -> Option<&MetricSetSource>
The dataset split from which the AutoML job produced 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
.
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<MetricDatum> for MetricDatum
impl PartialEq<MetricDatum> 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 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