Struct aws_sdk_sagemaker::model::HyperParameterTuningJobObjective [−][src]
#[non_exhaustive]pub struct HyperParameterTuningJobObjective {
pub type: Option<HyperParameterTuningJobObjectiveType>,
pub metric_name: Option<String>,
}
Expand description
Defines the objective metric for a hyperparameter tuning job.
Hyperparameter
tuning uses the value of this metric to evaluate the training jobs it launches, and
returns the training job that results in either the highest or lowest value for this
metric, depending on the value you specify for the Type
parameter.
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.type: Option<HyperParameterTuningJobObjectiveType>
Whether to minimize or maximize the objective metric.
metric_name: Option<String>
The name of the metric to use for the objective metric.
Implementations
Whether to minimize or maximize the objective metric.
The name of the metric to use for the objective metric.
Creates a new builder-style object to manufacture HyperParameterTuningJobObjective
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 Send for HyperParameterTuningJobObjective
impl Sync for HyperParameterTuningJobObjective
impl Unpin for HyperParameterTuningJobObjective
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