#[non_exhaustive]pub struct FinalHyperParameterTuningJobObjectiveMetric { /* private fields */ }
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.
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
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 PartialEq<FinalHyperParameterTuningJobObjectiveMetric> for FinalHyperParameterTuningJobObjectiveMetric
impl PartialEq<FinalHyperParameterTuningJobObjectiveMetric> for FinalHyperParameterTuningJobObjectiveMetric
source§fn eq(&self, other: &FinalHyperParameterTuningJobObjectiveMetric) -> bool
fn eq(&self, other: &FinalHyperParameterTuningJobObjectiveMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FinalHyperParameterTuningJobObjectiveMetric
Auto Trait Implementations§
impl RefUnwindSafe for FinalHyperParameterTuningJobObjectiveMetric
impl Send for FinalHyperParameterTuningJobObjectiveMetric
impl Sync for FinalHyperParameterTuningJobObjectiveMetric
impl Unpin for FinalHyperParameterTuningJobObjectiveMetric
impl UnwindSafe for FinalHyperParameterTuningJobObjectiveMetric
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