pub struct SplitDataset<Feature, Label>(pub Vec<Feature>, pub Vec<Feature>, pub Vec<Label>, pub Vec<Label>);Expand description
Train test split result. returns in order training features, testing features, training labels, testing labels.
Tuple Fields§
§0: Vec<Feature>§1: Vec<Feature>§2: Vec<Label>§3: Vec<Label>Trait Implementations§
Source§impl<Feature: Clone, Label: Clone> Clone for SplitDataset<Feature, Label>
impl<Feature: Clone, Label: Clone> Clone for SplitDataset<Feature, Label>
Source§fn clone(&self) -> SplitDataset<Feature, Label>
fn clone(&self) -> SplitDataset<Feature, Label>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<Feature, Label> Freeze for SplitDataset<Feature, Label>
impl<Feature, Label> RefUnwindSafe for SplitDataset<Feature, Label>where
Feature: RefUnwindSafe,
Label: RefUnwindSafe,
impl<Feature, Label> Send for SplitDataset<Feature, Label>
impl<Feature, Label> Sync for SplitDataset<Feature, Label>
impl<Feature, Label> Unpin for SplitDataset<Feature, Label>
impl<Feature, Label> UnwindSafe for SplitDataset<Feature, Label>where
Feature: UnwindSafe,
Label: UnwindSafe,
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