linfa_linear/lib.rs
1//!
2//! `linfa-linear` aims to provide pure Rust implementations of popular linear regression algorithms.
3//!
4//! ## The Big Picture
5//!
6//! `linfa-linear` is a crate in the [`linfa`](https://crates.io/crates/linfa) ecosystem, an effort to create a toolkit for classical Machine Learning
7//! implemented in pure Rust, akin to Python's `scikit-learn`.
8//!
9//! ## Current state
10//!
11//! `linfa-linear` currently provides an implementation of the following regression algorithms:
12//! - Ordinary Least Squares
13//! - Generalized Linear Models (GLM)
14//! - Isotonic
15//!
16//! ## Examples
17//!
18//! There is an usage example in the `examples/` directory. To run, use:
19//!
20//! ```bash
21//! $ cargo run --features openblas --example diabetes
22//! $ cargo run --example glm
23//! ```
24
25mod error;
26mod float;
27mod glm;
28mod isotonic;
29mod ols;
30
31pub use error::*;
32pub use glm::*;
33pub use isotonic::*;
34pub use ols::*;