[−][src]Trait rand_split::TTVSplit
An iterator type to generate train/test/validaton splits from a data stream of unknown lenght.
It is the same as PartsSplit
but with a fixed
size of 3 (it uses arrays instead of vectors).
See the examples on the repository for both iterator traits.
Required methods
pub fn split_ttv(self, splits: [f32; 3]) -> TTVIterator<T, Self>
[src]
splits
contains weights that are not required to sum up to 1.