Struct aws_sdk_sagemaker::model::MetricDefinition [−][src]
#[non_exhaustive]pub struct MetricDefinition {
pub name: Option<String>,
pub regex: Option<String>,
}
Expand description
Specifies a metric that the training algorithm
writes
to stderr
or stdout
. Amazon SageMakerhyperparameter
tuning captures
all
defined metrics.
You
specify one metric that a hyperparameter tuning job uses as its
objective metric to choose the best training job.
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 metric.
regex: Option<String>
A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining Objective Metrics.
Implementations
Creates a new builder-style object to manufacture MetricDefinition
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MetricDefinition
impl Send for MetricDefinition
impl Sync for MetricDefinition
impl Unpin for MetricDefinition
impl UnwindSafe for MetricDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more