Struct aws_sdk_sagemaker::types::AutoMlDataSplitConfig
source · #[non_exhaustive]pub struct AutoMlDataSplitConfig { /* private fields */ }
Expand description
This structure specifies how to split the data into train and validation datasets.
If you are using the V1 API (for example CreateAutoMLJob
) or the V2 API for Natural Language Processing problems (for example CreateAutoMLJobV2
with a TextClassificationJobConfig
problem type), the validation and training datasets must contain the same headers. Also, for V1 API jobs, the validation dataset must be less than 2 GB in size.
Implementations§
source§impl AutoMlDataSplitConfig
impl AutoMlDataSplitConfig
sourcepub fn validation_fraction(&self) -> Option<f32>
pub fn validation_fraction(&self) -> Option<f32>
The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5.
source§impl AutoMlDataSplitConfig
impl AutoMlDataSplitConfig
sourcepub fn builder() -> AutoMlDataSplitConfigBuilder
pub fn builder() -> AutoMlDataSplitConfigBuilder
Creates a new builder-style object to manufacture AutoMlDataSplitConfig
.
Trait Implementations§
source§impl Clone for AutoMlDataSplitConfig
impl Clone for AutoMlDataSplitConfig
source§fn clone(&self) -> AutoMlDataSplitConfig
fn clone(&self) -> AutoMlDataSplitConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoMlDataSplitConfig
impl Debug for AutoMlDataSplitConfig
source§impl PartialEq<AutoMlDataSplitConfig> for AutoMlDataSplitConfig
impl PartialEq<AutoMlDataSplitConfig> for AutoMlDataSplitConfig
source§fn eq(&self, other: &AutoMlDataSplitConfig) -> bool
fn eq(&self, other: &AutoMlDataSplitConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.