Struct aws_sdk_sagemaker::types::AutoMlJobObjective
source · #[non_exhaustive]pub struct AutoMlJobObjective { /* private fields */ }
Expand description
Specifies a metric to minimize or maximize as the objective of a job. V2 API jobs (for example jobs created by calling CreateAutoMLJobV2
), support Accuracy
only.
Implementations§
source§impl AutoMlJobObjective
impl AutoMlJobObjective
sourcepub fn metric_name(&self) -> Option<&AutoMlMetricEnum>
pub fn metric_name(&self) -> Option<&AutoMlMetricEnum>
The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.
For the list of all available metrics supported by Autopilot, see Autopilot metrics.
If you do not specify a metric explicitly, the default behavior is to automatically use:
-
MSE
: for regression. -
F1
: for binary classification -
Accuracy
: for multiclass classification.
source§impl AutoMlJobObjective
impl AutoMlJobObjective
sourcepub fn builder() -> AutoMlJobObjectiveBuilder
pub fn builder() -> AutoMlJobObjectiveBuilder
Creates a new builder-style object to manufacture AutoMlJobObjective
.
Trait Implementations§
source§impl Clone for AutoMlJobObjective
impl Clone for AutoMlJobObjective
source§fn clone(&self) -> AutoMlJobObjective
fn clone(&self) -> AutoMlJobObjective
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlJobObjective
impl Debug for AutoMlJobObjective
source§impl PartialEq<AutoMlJobObjective> for AutoMlJobObjective
impl PartialEq<AutoMlJobObjective> for AutoMlJobObjective
source§fn eq(&self, other: &AutoMlJobObjective) -> bool
fn eq(&self, other: &AutoMlJobObjective) -> bool
self
and other
values to be equal, and is used
by ==
.