tinguely

Crates.iotinguely
lib.rstinguely
version0.1.1
sourcesrc
created_at2019-08-19 20:31:12.106937
updated_at2020-10-11 16:19:50.128968
descriptionMachine learning library
homepagehttps://matthiaseiholzer.gitlab.io/tinguely
repositoryhttps://gitlab.com/matthiaseiholzer/tinguely
max_upload_size
id158183
size184,914
Matthias Eiholzer (matthiaseiholzer)

documentation

https://docs.rs/crate/tinguely/latest/

README

Tinguely

crate documentation minimum rustc 1.46.0 maintenance pipeline status

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

Features

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

Currently implemented algorithms:

  • Clustering
    • K-MEANS
  • Regression
    • Linear Regression
  • Classification
    • Logistic Regression

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

Usage

Add this to your Cargo.toml for the native Rust implementation:

[dependencies.tinguely]
version = "0.1"

Add the following lines to 'Cargo.toml' if the openblas library should be used:

[dependencies.tinguely]
version = "0.1"
default-features = false
features = "openblas"

One of the following implementations for linear algebra can be activated as a feature:

  • native: Native Rust implementation(activated by default)

  • openblas: Optimized BLAS library

  • netlib: Collection of mathematical software, papers, and databases

  • intel-mkl: Intel Math Kernel Library

  • accelerate Make large-scale mathematical computations and image calculations, optimized for high performance and low-energy consumption.(macOS only)

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

use tinguely as tg;

Documentation

See project page for more information and examples. The API is documented on docs.rs.

License

Licensed under

Contribution

Any contribution is welcome!

Commit count: 13

cargo fmt