Crates.io | parsnip |
lib.rs | parsnip |
version | 0.3.0 |
source | src |
created_at | 2018-09-14 17:36:25.448748 |
updated_at | 2018-09-28 23:27:14.71126 |
description | Data science metrics (presently categorical only) for Rust. |
homepage | |
repository | https://github.com/ErikPartridge/parsnip |
max_upload_size | |
id | 84733 |
size | 19,245 |
Data science metrics for Rust (categorical at the moment, but under active development).
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.
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.
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.
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.
Support for generic types, better error handling and documentation. Substantial breaking changes in this version.
Mostly bug fixes, a few additions
Added numerous different functions for categorical accuracy, bumping to 0.2.0 as a result. I consider most of these now stable.
Added f1_score support
Documenation is available at docs.rs