Struct aws_sdk_sagemaker::types::AutoMlDataSplitConfig
source · #[non_exhaustive]pub struct AutoMlDataSplitConfig {
pub validation_fraction: Option<f32>,
}
Expand description
This structure specifies how to split the data into train and validation datasets.
The validation and training datasets must contain the same headers. For jobs created by calling CreateAutoMLJob
, the validation dataset must be less than 2 GB in size.
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.validation_fraction: 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.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.