-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update linfa logistic and linear (#91)
* update linfa logistic and linear * silhouette score * update appx_dbscan example * appx_dbscan_example * logistic regression documentation * new regression metrics traits
- Loading branch information
Showing
24 changed files
with
892 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
pub mod error; | ||
//! | ||
//! `linfa-linear` aims to provide pure Rust implementations of popular linear regression algorithms. | ||
//! | ||
//! ## The Big Picture | ||
//! | ||
//! `linfa-linear` is a crate in the [`linfa`](https://crates.io/crates/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-linear` currently provides an implementation of the following regression algorithms: | ||
//! - Ordinary Least Squares | ||
//! - Generalized Linear Models (GLM) | ||
//! | ||
//! ## Examples | ||
//! | ||
//! There is an usage example in the `examples/` directory. To run, use: | ||
//! | ||
//! ```bash | ||
//! $ cargo run --features openblas --example diabetes | ||
//! $ cargo run --example glm | ||
//! ``` | ||
mod error; | ||
mod float; | ||
pub mod glm; | ||
pub mod ols; | ||
mod glm; | ||
mod ols; | ||
|
||
pub use error::Result; | ||
pub use glm::TweedieRegressor; | ||
pub use ols::LinearRegression; | ||
pub use error::*; | ||
pub use glm::*; | ||
pub use ols::*; |
Oops, something went wrong.