#[non_exhaustive]pub struct FinalHyperParameterTuningJobObjectiveMetric {
pub type: Option<HyperParameterTuningJobObjectiveType>,
pub metric_name: Option<String>,
pub value: Option<f32>,
}Expand description
Shows the latest objective metric emitted by a training job that was launched by a hyperparameter tuning job. You define the objective metric in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.
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>Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
metric_name: Option<String>The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
value: Option<f32>The value of the objective metric.
Implementations§
source§impl FinalHyperParameterTuningJobObjectiveMetric
impl FinalHyperParameterTuningJobObjectiveMetric
sourcepub fn type(&self) -> Option<&HyperParameterTuningJobObjectiveType>
pub fn type(&self) -> Option<&HyperParameterTuningJobObjectiveType>
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
source§impl FinalHyperParameterTuningJobObjectiveMetric
impl FinalHyperParameterTuningJobObjectiveMetric
sourcepub fn builder() -> FinalHyperParameterTuningJobObjectiveMetricBuilder
pub fn builder() -> FinalHyperParameterTuningJobObjectiveMetricBuilder
Creates a new builder-style object to manufacture FinalHyperParameterTuningJobObjectiveMetric.
Trait Implementations§
source§impl Clone for FinalHyperParameterTuningJobObjectiveMetric
impl Clone for FinalHyperParameterTuningJobObjectiveMetric
source§fn clone(&self) -> FinalHyperParameterTuningJobObjectiveMetric
fn clone(&self) -> FinalHyperParameterTuningJobObjectiveMetric
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for FinalHyperParameterTuningJobObjectiveMetric
impl PartialEq for FinalHyperParameterTuningJobObjectiveMetric
source§fn eq(&self, other: &FinalHyperParameterTuningJobObjectiveMetric) -> bool
fn eq(&self, other: &FinalHyperParameterTuningJobObjectiveMetric) -> bool
self and other values to be equal, and is used
by ==.