linfa
linfa copied to clipboard
A Rust machine learning framework.
This PR updates argmin to the most recent version 0.6.0. In this version the `serde` dependency is optional, which addresses #48. It only concerns `linfa-linear` and `linfa-logistic`. # linfa-linear This...
Addresses #232 Adds PCA impl for f32 for all BLAS backends using macros. Does not involve the `Float` trait. There is currently a logic bug, as the `test_explained_variance_diag` and `test_whitening_small`...
Currently, Lp distance when using p=0 is broken. It tries to calculate 1/0. I have implemented [Hamming Distance](https://en.wikipedia.org/wiki/Lp_space#When_p_=_0) (l0 norm) that counts the number of positions which have different values....
I've recently been looking into adding Random Forest to linfa. Since Ensemble Learning is on the roadmap anyway I think the best way to do this would be to add...
Currently `linfa-bayes` crate contains Gaussian Naive Bayes algorithm. It should not be very difficult to add other kinds of Naive Bayes present in `sklearn`: - [x] Multinomial Naive Bayes -...
[PCA algorithm](https://github.com/rust-ml/linfa/blob/master/algorithms/linfa-reduction/src/pca.rs) is only implemented for f64. Is there a reason for this? Can't it be implemented for trait Float?
Following on from the discussion in issue #199 here is an implementation of Bootstrap Aggregation following the approach laid out there. There is also an example showing how the provided...
Roadmap
In terms of functionality, the mid-term end goal is to achieve an offering of ML algorithms and pre-processing routines comparable to what is currently available in Python's [`scikit-learn`](https://scikit-learn.org/stable/). These algorithms...
Nearest neighbour algorithms are an item in the roadmap. They're helpful in clustering algorithms, particularly DBSCAN. There are a number of existing implementations of advanced nearest neighbour algorithms in the...
Now that we've made BLAS support optional on several `linfa` crates, we should compare the performance of those crates with and without BLAS. Doing this requires those crates to have...