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 for AutoMlDataSplitConfig
impl PartialEq for AutoMlDataSplitConfig
impl StructuralPartialEq for AutoMlDataSplitConfig
Auto Trait Implementations§
impl Freeze for AutoMlDataSplitConfig
impl RefUnwindSafe for AutoMlDataSplitConfig
impl Send for AutoMlDataSplitConfig
impl Sync for AutoMlDataSplitConfig
impl Unpin for AutoMlDataSplitConfig
impl UnwindSafe for AutoMlDataSplitConfig
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