Crates.io Documentation Build

rand_split

This crate achieves the functionality of sklearn's traintestsplit to generate splits of the data (in this case, a slice), generalized for an arbitrary number of splits (see split_parts). It both provides functions that work on slices and iterator traits to work with streams of data.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

README.md is automatically generated on CI using cargo-readme. Please, modify README.tpl or lib.rs instead (check the github worflow for more details).