#[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 ==
.impl StructuralPartialEq for TuningJobCompletionCriteriaBuilder
Auto Trait Implementations§
impl Freeze for TuningJobCompletionCriteriaBuilder
impl RefUnwindSafe for TuningJobCompletionCriteriaBuilder
impl Send for TuningJobCompletionCriteriaBuilder
impl Sync for TuningJobCompletionCriteriaBuilder
impl Unpin for TuningJobCompletionCriteriaBuilder
impl UnwindSafe for TuningJobCompletionCriteriaBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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