Coder Social home page Coder Social logo

parsnip's Introduction

parsnip

Coverage Status Docs

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

parsnip's People

Contributors

erikpartridge avatar enet4 avatar

Watchers

James Cloos avatar Andy Russell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.