Expand description

Logistic Regression

The Big Picture

linfa-logistic is a crate in the linfa ecosystem, an effort to create a toolkit for classical Machine Learning implemented in pure Rust, akin to Python’s scikit-learn.

Current state

linfa-logistic provides a pure Rust implementation of a binomial logistic regression model and a multinomial logistic regression model.

Examples

There is an usage example in the examples/ directory. To run, use:

$ cargo run --example winequality

Modules

Structs

A fitted logistic regression which can make predictions

A fitted multinomial logistic regression which can make predictions

Type Definitions

A two-class logistic regression model.

A multinomial class logistic regression model.

Validated version of LogisticRegression

Validated version of MultiLogisticRegression