2 unstable releases

✓ Uses Rust 2018 edition

0.1.0 Oct 6, 2019
0.0.1 Aug 19, 2019

#47 in Machine learning

47 downloads per month

MIT license

567 lines


crate documentation minimum rustc 1.38.0 maintenance

tinguely is a machine learning library implemented entirely in Rust. This library is still in early stages of development.


tinguely uses mathru for its linear algebra calculations and optimization algorithms. There is still lots of room for optimization, but BLAS/LAPACK support is already integrated.

Currently implemented algorithms:

  • Clustering
    • DBSCAN
    • K-MEANS
  • Regression
    • Linear Regression
  • Classification
    • Logistic Regression
    • Support Vector Machine

The models all provide predict and train methods enforced by the SupervisedLearn and UnsupervisedLearn traits.


The library is most easily used with cargo. Include the following lines in your Cargo.toml file:

version = "0.1.0"

Then import the modules and it is ready to be used:

use tinguely as tg;


~43K SLoC