#[non_exhaustive]pub struct TuningJobCompletionCriteria {
pub target_objective_metric_value: Option<f32>,
pub best_objective_not_improving: Option<BestObjectiveNotImproving>,
pub convergence_detected: Option<ConvergenceDetected>,
}
Expand description
The job completion criteria.
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.target_objective_metric_value: Option<f32>
The value of the objective metric.
best_objective_not_improving: Option<BestObjectiveNotImproving>
A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.
convergence_detected: 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.
Implementations§
source§impl TuningJobCompletionCriteria
impl TuningJobCompletionCriteria
sourcepub fn target_objective_metric_value(&self) -> Option<f32>
pub fn target_objective_metric_value(&self) -> Option<f32>
The value of the objective metric.
sourcepub fn best_objective_not_improving(&self) -> Option<&BestObjectiveNotImproving>
pub fn 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) -> Option<&ConvergenceDetected>
pub fn 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.
source§impl TuningJobCompletionCriteria
impl TuningJobCompletionCriteria
sourcepub fn builder() -> TuningJobCompletionCriteriaBuilder
pub fn builder() -> TuningJobCompletionCriteriaBuilder
Creates a new builder-style object to manufacture TuningJobCompletionCriteria
.
Trait Implementations§
source§impl Clone for TuningJobCompletionCriteria
impl Clone for TuningJobCompletionCriteria
source§fn clone(&self) -> TuningJobCompletionCriteria
fn clone(&self) -> TuningJobCompletionCriteria
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TuningJobCompletionCriteria
impl Debug for TuningJobCompletionCriteria
source§impl PartialEq for TuningJobCompletionCriteria
impl PartialEq for TuningJobCompletionCriteria
source§fn eq(&self, other: &TuningJobCompletionCriteria) -> bool
fn eq(&self, other: &TuningJobCompletionCriteria) -> bool
self
and other
values to be equal, and is used
by ==
.