#[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 ==.impl StructuralPartialEq for TuningJobCompletionCriteria
Auto Trait Implementations§
impl Freeze for TuningJobCompletionCriteria
impl RefUnwindSafe for TuningJobCompletionCriteria
impl Send for TuningJobCompletionCriteria
impl Sync for TuningJobCompletionCriteria
impl Unpin for TuningJobCompletionCriteria
impl UnwindSafe for TuningJobCompletionCriteria
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more