Crate linfa_logistic

Source
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§

error

Structs§

BinaryClassLabels
ClassLabel
FittedLogisticRegression
A fitted logistic regression which can make predictions
MultiFittedLogisticRegression
A fitted multinomial logistic regression which can make predictions

Type Aliases§

LogisticRegression
A two-class logistic regression model.
MultiLogisticRegression
A multinomial class logistic regression model.
ValidLogisticRegression
Validated version of LogisticRegression
ValidMultiLogisticRegression
Validated version of MultiLogisticRegression