#[non_exhaustive]pub struct AutoMlJobCompletionCriteria {
pub max_candidates: Option<i32>,
pub max_runtime_per_training_job_in_seconds: Option<i32>,
pub max_auto_ml_job_runtime_in_seconds: Option<i32>,
}
Expand description
How long a job is allowed to run, or how many candidates a job is allowed to generate.
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.max_candidates: Option<i32>
The maximum number of times a training job is allowed to run.
For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.
max_runtime_per_training_job_in_seconds: Option<i32>
The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.
For job V2s (jobs created by calling CreateAutoMLJobV2
), this field controls the runtime of the job candidate.
For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).
max_auto_ml_job_runtime_in_seconds: Option<i32>
The maximum runtime, in seconds, an AutoML job has to complete.
If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.
Implementations§
source§impl AutoMlJobCompletionCriteria
impl AutoMlJobCompletionCriteria
sourcepub fn max_candidates(&self) -> Option<i32>
pub fn max_candidates(&self) -> Option<i32>
The maximum number of times a training job is allowed to run.
For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.
sourcepub fn max_runtime_per_training_job_in_seconds(&self) -> Option<i32>
pub fn max_runtime_per_training_job_in_seconds(&self) -> Option<i32>
The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.
For job V2s (jobs created by calling CreateAutoMLJobV2
), this field controls the runtime of the job candidate.
For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).
sourcepub fn max_auto_ml_job_runtime_in_seconds(&self) -> Option<i32>
pub fn max_auto_ml_job_runtime_in_seconds(&self) -> Option<i32>
The maximum runtime, in seconds, an AutoML job has to complete.
If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.
source§impl AutoMlJobCompletionCriteria
impl AutoMlJobCompletionCriteria
sourcepub fn builder() -> AutoMlJobCompletionCriteriaBuilder
pub fn builder() -> AutoMlJobCompletionCriteriaBuilder
Creates a new builder-style object to manufacture AutoMlJobCompletionCriteria
.
Trait Implementations§
source§impl Clone for AutoMlJobCompletionCriteria
impl Clone for AutoMlJobCompletionCriteria
source§fn clone(&self) -> AutoMlJobCompletionCriteria
fn clone(&self) -> AutoMlJobCompletionCriteria
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlJobCompletionCriteria
impl Debug for AutoMlJobCompletionCriteria
source§impl PartialEq for AutoMlJobCompletionCriteria
impl PartialEq for AutoMlJobCompletionCriteria
source§fn eq(&self, other: &AutoMlJobCompletionCriteria) -> bool
fn eq(&self, other: &AutoMlJobCompletionCriteria) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoMlJobCompletionCriteria
Auto Trait Implementations§
impl Freeze for AutoMlJobCompletionCriteria
impl RefUnwindSafe for AutoMlJobCompletionCriteria
impl Send for AutoMlJobCompletionCriteria
impl Sync for AutoMlJobCompletionCriteria
impl Unpin for AutoMlJobCompletionCriteria
impl UnwindSafe for AutoMlJobCompletionCriteria
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