rand_split

Crates.iorand_split
lib.rsrand_split
version0.2.1
sourcesrc
created_at2021-01-03 19:22:43.62772
updated_at2021-01-18 23:10:48.206619
descriptionFunctions to split a slice into random parts.
homepage
repositoryhttps://github.com/carrascomj/rand_split
max_upload_size
id331160
size48,942
Jorge Carrasco (carrascomj)

documentation

README

Crates.io Documentation Build

rand_split

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

Check out the examples in the repository for more information.

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).

Commit count: 28

cargo fmt