Struct aws_sdk_sagemaker::types::AutoMlJobObjective
source · #[non_exhaustive]pub struct AutoMlJobObjective {
pub metric_name: Option<AutoMlMetricEnum>,
}
Expand description
Specifies a metric to minimize or maximize as the objective of a 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.metric_name: 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:
-
For tabular problem types:
-
Regression:
MSE
. -
Binary classification:
F1
. -
Multiclass classification:
Accuracy
.
-
-
For image or text classification problem types:
Accuracy
-
For time-series forecasting problem types:
AverageWeightedQuantileLoss
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:
-
For tabular problem types:
-
Regression:
MSE
. -
Binary classification:
F1
. -
Multiclass classification:
Accuracy
.
-
-
For image or text classification problem types:
Accuracy
-
For time-series forecasting problem types:
AverageWeightedQuantileLoss
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 for AutoMlJobObjective
impl PartialEq 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 ==
.