#[non_exhaustive]pub enum Split {
FractionSplit(Box<FractionSplit>),
FilterSplit(Box<FilterSplit>),
PredefinedSplit(Box<PredefinedSplit>),
TimestampSplit(Box<TimestampSplit>),
StratifiedSplit(Box<StratifiedSplit>),
}Available on crate feature
pipeline-service only.Expand description
The instructions how the input data should be split between the training, validation and test sets. If no split type is provided, the fraction_split is used by default.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FractionSplit(Box<FractionSplit>)
Split based on fractions defining the size of each set.
FilterSplit(Box<FilterSplit>)
Split based on the provided filters for each set.
PredefinedSplit(Box<PredefinedSplit>)
Supported only for tabular Datasets.
Split based on a predefined key.
TimestampSplit(Box<TimestampSplit>)
Supported only for tabular Datasets.
Split based on the timestamp of the input data pieces.
StratifiedSplit(Box<StratifiedSplit>)
Supported only for tabular Datasets.
Split based on the distribution of the specified column.
Trait Implementations§
impl StructuralPartialEq for Split
Auto Trait Implementations§
impl Freeze for Split
impl RefUnwindSafe for Split
impl Send for Split
impl Sync for Split
impl Unpin for Split
impl UnwindSafe for Split
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
Mutably borrows from an owned value. Read more