pub struct CrossValidation {
pub n_folds: usize,
pub n_samples: usize,
pub shuffle: bool,
pub stratified: bool,
}Expand description
Cross-validation scheme.
Fields§
§n_folds: usize§n_samples: usize§shuffle: bool§stratified: boolImplementations§
Trait Implementations§
Source§impl Clone for CrossValidation
impl Clone for CrossValidation
Source§fn clone(&self) -> CrossValidation
fn clone(&self) -> CrossValidation
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 Freeze for CrossValidation
impl RefUnwindSafe for CrossValidation
impl Send for CrossValidation
impl Sync for CrossValidation
impl Unpin for CrossValidation
impl UnsafeUnpin for CrossValidation
impl UnwindSafe for CrossValidation
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