#[non_exhaustive]pub enum Split {
FractionSplit(Box<ExportFractionSplit>),
FilterSplit(Box<ExportFilterSplit>),
}Available on crate feature
dataset-service only.Expand description
The instructions how the export data should be split between the training, validation and test sets.
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<ExportFractionSplit>)
Split based on fractions defining the size of each set.
FilterSplit(Box<ExportFilterSplit>)
Split based on the provided filters for each set.
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