Struct aws_sdk_sagemaker::types::builders::FinalHyperParameterTuningJobObjectiveMetricBuilder
source · #[non_exhaustive]pub struct FinalHyperParameterTuningJobObjectiveMetricBuilder { /* private fields */ }
Expand description
A builder for FinalHyperParameterTuningJobObjectiveMetric
.
Implementations§
source§impl FinalHyperParameterTuningJobObjectiveMetricBuilder
impl FinalHyperParameterTuningJobObjectiveMetricBuilder
sourcepub fn type(self, input: HyperParameterTuningJobObjectiveType) -> Self
pub fn type(self, input: HyperParameterTuningJobObjectiveType) -> Self
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
sourcepub fn set_type(
self,
input: Option<HyperParameterTuningJobObjectiveType>
) -> Self
pub fn set_type( self, input: Option<HyperParameterTuningJobObjectiveType> ) -> Self
Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
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.
sourcepub fn build(self) -> FinalHyperParameterTuningJobObjectiveMetric
pub fn build(self) -> FinalHyperParameterTuningJobObjectiveMetric
Consumes the builder and constructs a FinalHyperParameterTuningJobObjectiveMetric
.
Trait Implementations§
source§impl Clone for FinalHyperParameterTuningJobObjectiveMetricBuilder
impl Clone for FinalHyperParameterTuningJobObjectiveMetricBuilder
source§fn clone(&self) -> FinalHyperParameterTuningJobObjectiveMetricBuilder
fn clone(&self) -> FinalHyperParameterTuningJobObjectiveMetricBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FinalHyperParameterTuningJobObjectiveMetricBuilder
impl Default for FinalHyperParameterTuningJobObjectiveMetricBuilder
source§fn default() -> FinalHyperParameterTuningJobObjectiveMetricBuilder
fn default() -> FinalHyperParameterTuningJobObjectiveMetricBuilder
source§impl PartialEq<FinalHyperParameterTuningJobObjectiveMetricBuilder> for FinalHyperParameterTuningJobObjectiveMetricBuilder
impl PartialEq<FinalHyperParameterTuningJobObjectiveMetricBuilder> for FinalHyperParameterTuningJobObjectiveMetricBuilder
source§fn eq(&self, other: &FinalHyperParameterTuningJobObjectiveMetricBuilder) -> bool
fn eq(&self, other: &FinalHyperParameterTuningJobObjectiveMetricBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.