Struct aws_sdk_sagemaker::types::builders::AutoMlJobConfigBuilder
source · #[non_exhaustive]pub struct AutoMlJobConfigBuilder { /* private fields */ }
Expand description
A builder for AutoMlJobConfig
.
Implementations§
source§impl AutoMlJobConfigBuilder
impl AutoMlJobConfigBuilder
sourcepub fn completion_criteria(self, input: AutoMlJobCompletionCriteria) -> Self
pub fn completion_criteria(self, input: AutoMlJobCompletionCriteria) -> Self
How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn set_completion_criteria(
self,
input: Option<AutoMlJobCompletionCriteria>,
) -> Self
pub fn set_completion_criteria( self, input: Option<AutoMlJobCompletionCriteria>, ) -> Self
How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn get_completion_criteria(&self) -> &Option<AutoMlJobCompletionCriteria>
pub fn get_completion_criteria(&self) -> &Option<AutoMlJobCompletionCriteria>
How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.
sourcepub fn security_config(self, input: AutoMlSecurityConfig) -> Self
pub fn security_config(self, input: AutoMlSecurityConfig) -> Self
The security configuration for traffic encryption or Amazon VPC settings.
sourcepub fn set_security_config(self, input: Option<AutoMlSecurityConfig>) -> Self
pub fn set_security_config(self, input: Option<AutoMlSecurityConfig>) -> Self
The security configuration for traffic encryption or Amazon VPC settings.
sourcepub fn get_security_config(&self) -> &Option<AutoMlSecurityConfig>
pub fn get_security_config(&self) -> &Option<AutoMlSecurityConfig>
The security configuration for traffic encryption or Amazon VPC settings.
sourcepub fn candidate_generation_config(
self,
input: AutoMlCandidateGenerationConfig,
) -> Self
pub fn candidate_generation_config( self, input: AutoMlCandidateGenerationConfig, ) -> Self
The configuration for generating a candidate for an AutoML job (optional).
sourcepub fn set_candidate_generation_config(
self,
input: Option<AutoMlCandidateGenerationConfig>,
) -> Self
pub fn set_candidate_generation_config( self, input: Option<AutoMlCandidateGenerationConfig>, ) -> Self
The configuration for generating a candidate for an AutoML job (optional).
sourcepub fn get_candidate_generation_config(
&self,
) -> &Option<AutoMlCandidateGenerationConfig>
pub fn get_candidate_generation_config( &self, ) -> &Option<AutoMlCandidateGenerationConfig>
The configuration for generating a candidate for an AutoML job (optional).
sourcepub fn data_split_config(self, input: AutoMlDataSplitConfig) -> Self
pub fn data_split_config(self, input: AutoMlDataSplitConfig) -> Self
The configuration for splitting the input training dataset.
Type: AutoMLDataSplitConfig
sourcepub fn set_data_split_config(self, input: Option<AutoMlDataSplitConfig>) -> Self
pub fn set_data_split_config(self, input: Option<AutoMlDataSplitConfig>) -> Self
The configuration for splitting the input training dataset.
Type: AutoMLDataSplitConfig
sourcepub fn get_data_split_config(&self) -> &Option<AutoMlDataSplitConfig>
pub fn get_data_split_config(&self) -> &Option<AutoMlDataSplitConfig>
The configuration for splitting the input training dataset.
Type: AutoMLDataSplitConfig
sourcepub fn mode(self, input: AutoMlMode) -> Self
pub fn mode(self, input: AutoMlMode) -> Self
The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO
. In AUTO
mode, Autopilot chooses ENSEMBLING
for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING
for larger ones.
The ENSEMBLING
mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING
mode.
The HYPERPARAMETER_TUNING
(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING
mode.
sourcepub fn set_mode(self, input: Option<AutoMlMode>) -> Self
pub fn set_mode(self, input: Option<AutoMlMode>) -> Self
The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO
. In AUTO
mode, Autopilot chooses ENSEMBLING
for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING
for larger ones.
The ENSEMBLING
mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING
mode.
The HYPERPARAMETER_TUNING
(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING
mode.
sourcepub fn get_mode(&self) -> &Option<AutoMlMode>
pub fn get_mode(&self) -> &Option<AutoMlMode>
The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO
. In AUTO
mode, Autopilot chooses ENSEMBLING
for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING
for larger ones.
The ENSEMBLING
mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING
mode.
The HYPERPARAMETER_TUNING
(HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING
mode.
sourcepub fn build(self) -> AutoMlJobConfig
pub fn build(self) -> AutoMlJobConfig
Consumes the builder and constructs a AutoMlJobConfig
.
Trait Implementations§
source§impl Clone for AutoMlJobConfigBuilder
impl Clone for AutoMlJobConfigBuilder
source§fn clone(&self) -> AutoMlJobConfigBuilder
fn clone(&self) -> AutoMlJobConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoMlJobConfigBuilder
impl Debug for AutoMlJobConfigBuilder
source§impl Default for AutoMlJobConfigBuilder
impl Default for AutoMlJobConfigBuilder
source§fn default() -> AutoMlJobConfigBuilder
fn default() -> AutoMlJobConfigBuilder
source§impl PartialEq for AutoMlJobConfigBuilder
impl PartialEq for AutoMlJobConfigBuilder
impl StructuralPartialEq for AutoMlJobConfigBuilder
Auto Trait Implementations§
impl Freeze for AutoMlJobConfigBuilder
impl RefUnwindSafe for AutoMlJobConfigBuilder
impl Send for AutoMlJobConfigBuilder
impl Sync for AutoMlJobConfigBuilder
impl Unpin for AutoMlJobConfigBuilder
impl UnwindSafe for AutoMlJobConfigBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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