8 releases
Uses old Rust 2015
0.3.0 | Sep 28, 2018 |
---|---|
0.2.2 | Sep 14, 2018 |
0.1.3 | Sep 14, 2018 |
#671 in Science
118 downloads per month
Used in 4 crates
(3 directly)
18KB
328 lines
parsnip
Data science metrics for Rust (categorical at the moment, but under active development).
Goals
Parsnip aims to supply a wide variety of useful metrics for data science. Generally, I draw inspiration from SciKit Learn's metrics in terms of what to include. However, I'll add other features as contributors suggest or as I come across them (for example, Gini Impurity).
Ultimately, Parsnip should support a wide variety of linear algebra packages, including some with GPU support. Wherever possible, I will also endeavour to make Parsnip as performant as possible to avoid slowing down training.
Contributing
Pull requests are always welcome! I ask that you keep with the convention of the package fn something(pred: &[type], actual: &[type], ...)
. Performance PRs are always tremendously appreciated.
Why the name parsnip?
I'm not sure. I wanted something natural, and it felt right. Plus, it's relatively short to type and distinct from other packages on crates.io.
Roadmap
I'm first aiming to finish broad support for categorical data. Code quality improvements, and greater unit test coverage would also be preferred. Before getting to 1.0, support for types other than slices is desirable.
Change log
0.3.0
Support for generic types, better error handling and documentation. Substantial breaking changes in this version.
0.2.2
Mostly bug fixes, a few additions
0.2.0
Added numerous different functions for categorical accuracy, bumping to 0.2.0 as a result. I consider most of these now stable.
0.1.3
Added f1_score support
Documenation is available at docs.rs