#[non_exhaustive]pub struct AutoMlJobObjectiveBuilder { /* private fields */ }
Expand description
A builder for AutoMlJobObjective
.
Implementations§
source§impl AutoMlJobObjectiveBuilder
impl AutoMlJobObjectiveBuilder
sourcepub fn metric_name(self, input: AutoMlMetricEnum) -> Self
pub fn metric_name(self, input: AutoMlMetricEnum) -> Self
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
sourcepub fn set_metric_name(self, input: Option<AutoMlMetricEnum>) -> Self
pub fn set_metric_name(self, input: Option<AutoMlMetricEnum>) -> Self
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
sourcepub fn get_metric_name(&self) -> &Option<AutoMlMetricEnum>
pub fn get_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
sourcepub fn build(self) -> AutoMlJobObjective
pub fn build(self) -> AutoMlJobObjective
Consumes the builder and constructs a AutoMlJobObjective
.
Trait Implementations§
source§impl Clone for AutoMlJobObjectiveBuilder
impl Clone for AutoMlJobObjectiveBuilder
source§fn clone(&self) -> AutoMlJobObjectiveBuilder
fn clone(&self) -> AutoMlJobObjectiveBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlJobObjectiveBuilder
impl Debug for AutoMlJobObjectiveBuilder
source§impl Default for AutoMlJobObjectiveBuilder
impl Default for AutoMlJobObjectiveBuilder
source§fn default() -> AutoMlJobObjectiveBuilder
fn default() -> AutoMlJobObjectiveBuilder
source§impl PartialEq<AutoMlJobObjectiveBuilder> for AutoMlJobObjectiveBuilder
impl PartialEq<AutoMlJobObjectiveBuilder> for AutoMlJobObjectiveBuilder
source§fn eq(&self, other: &AutoMlJobObjectiveBuilder) -> bool
fn eq(&self, other: &AutoMlJobObjectiveBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.