#[non_exhaustive]pub struct AutoMlJobCompletionCriteriaBuilder { /* private fields */ }
Expand description
A builder for AutoMlJobCompletionCriteria
.
Implementations§
source§impl AutoMlJobCompletionCriteriaBuilder
impl AutoMlJobCompletionCriteriaBuilder
sourcepub fn max_candidates(self, input: i32) -> Self
pub fn max_candidates(self, input: i32) -> Self
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 set_max_candidates(self, input: Option<i32>) -> Self
pub fn set_max_candidates(self, input: Option<i32>) -> Self
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 get_max_candidates(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn max_runtime_per_training_job_in_seconds(self, input: i32) -> Self
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.
sourcepub fn set_max_runtime_per_training_job_in_seconds(
self,
input: Option<i32>
) -> Self
pub fn set_max_runtime_per_training_job_in_seconds( self, input: Option<i32> ) -> Self
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.
sourcepub fn get_max_runtime_per_training_job_in_seconds(&self) -> &Option<i32>
pub fn get_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.
sourcepub fn max_auto_ml_job_runtime_in_seconds(self, input: i32) -> Self
pub fn max_auto_ml_job_runtime_in_seconds(self, input: i32) -> Self
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.
sourcepub fn set_max_auto_ml_job_runtime_in_seconds(self, input: Option<i32>) -> Self
pub fn set_max_auto_ml_job_runtime_in_seconds(self, input: Option<i32>) -> Self
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.
sourcepub fn get_max_auto_ml_job_runtime_in_seconds(&self) -> &Option<i32>
pub fn get_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.
sourcepub fn build(self) -> AutoMlJobCompletionCriteria
pub fn build(self) -> AutoMlJobCompletionCriteria
Consumes the builder and constructs a AutoMlJobCompletionCriteria
.
Trait Implementations§
source§impl Clone for AutoMlJobCompletionCriteriaBuilder
impl Clone for AutoMlJobCompletionCriteriaBuilder
source§fn clone(&self) -> AutoMlJobCompletionCriteriaBuilder
fn clone(&self) -> AutoMlJobCompletionCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AutoMlJobCompletionCriteriaBuilder
impl Default for AutoMlJobCompletionCriteriaBuilder
source§fn default() -> AutoMlJobCompletionCriteriaBuilder
fn default() -> AutoMlJobCompletionCriteriaBuilder
source§impl PartialEq for AutoMlJobCompletionCriteriaBuilder
impl PartialEq for AutoMlJobCompletionCriteriaBuilder
source§fn eq(&self, other: &AutoMlJobCompletionCriteriaBuilder) -> bool
fn eq(&self, other: &AutoMlJobCompletionCriteriaBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.