#[non_exhaustive]pub struct TuningJobCompletionCriteriaBuilder { /* private fields */ }
Expand description
A builder for TuningJobCompletionCriteria
.
Implementations§
source§impl TuningJobCompletionCriteriaBuilder
impl TuningJobCompletionCriteriaBuilder
sourcepub fn target_objective_metric_value(self, input: f32) -> Self
pub fn target_objective_metric_value(self, input: f32) -> Self
The value of the objective metric.
sourcepub fn set_target_objective_metric_value(self, input: Option<f32>) -> Self
pub fn set_target_objective_metric_value(self, input: Option<f32>) -> Self
The value of the objective metric.
sourcepub fn get_target_objective_metric_value(&self) -> &Option<f32>
pub fn get_target_objective_metric_value(&self) -> &Option<f32>
The value of the objective metric.
sourcepub fn best_objective_not_improving(
self,
input: BestObjectiveNotImproving
) -> Self
pub fn best_objective_not_improving( self, input: BestObjectiveNotImproving ) -> Self
A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.
sourcepub fn set_best_objective_not_improving(
self,
input: Option<BestObjectiveNotImproving>
) -> Self
pub fn set_best_objective_not_improving( self, input: Option<BestObjectiveNotImproving> ) -> Self
A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.
sourcepub fn get_best_objective_not_improving(
&self
) -> &Option<BestObjectiveNotImproving>
pub fn get_best_objective_not_improving( &self ) -> &Option<BestObjectiveNotImproving>
A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.
sourcepub fn convergence_detected(self, input: ConvergenceDetected) -> Self
pub fn convergence_detected(self, input: ConvergenceDetected) -> Self
A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.
sourcepub fn set_convergence_detected(
self,
input: Option<ConvergenceDetected>
) -> Self
pub fn set_convergence_detected( self, input: Option<ConvergenceDetected> ) -> Self
A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.
sourcepub fn get_convergence_detected(&self) -> &Option<ConvergenceDetected>
pub fn get_convergence_detected(&self) -> &Option<ConvergenceDetected>
A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.
sourcepub fn build(self) -> TuningJobCompletionCriteria
pub fn build(self) -> TuningJobCompletionCriteria
Consumes the builder and constructs a TuningJobCompletionCriteria
.
Trait Implementations§
source§impl Clone for TuningJobCompletionCriteriaBuilder
impl Clone for TuningJobCompletionCriteriaBuilder
source§fn clone(&self) -> TuningJobCompletionCriteriaBuilder
fn clone(&self) -> TuningJobCompletionCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TuningJobCompletionCriteriaBuilder
impl Default for TuningJobCompletionCriteriaBuilder
source§fn default() -> TuningJobCompletionCriteriaBuilder
fn default() -> TuningJobCompletionCriteriaBuilder
source§impl PartialEq for TuningJobCompletionCriteriaBuilder
impl PartialEq for TuningJobCompletionCriteriaBuilder
source§fn eq(&self, other: &TuningJobCompletionCriteriaBuilder) -> bool
fn eq(&self, other: &TuningJobCompletionCriteriaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.