pub trait BaseKFold {
type Output: Iterator<Item = (Vec<usize>, Vec<usize>)>;
// Required methods
fn split<T: Number, X: Array2<T>>(&self, x: &X) -> Self::Output;
fn n_splits(&self) -> usize;
}
Expand description
An interface for the K-Folds cross-validator
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.