Struct aws_sdk_sagemaker::model::auto_ml_data_split_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AutoMlDataSplitConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn validation_fraction(self, input: f32) -> Self
pub fn validation_fraction(self, input: f32) -> Self
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.
sourcepub fn set_validation_fraction(self, input: Option<f32>) -> Self
pub fn set_validation_fraction(self, input: Option<f32>) -> Self
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.
sourcepub fn build(self) -> AutoMlDataSplitConfig
pub fn build(self) -> AutoMlDataSplitConfig
Consumes the builder and constructs a AutoMlDataSplitConfig
.