rust-ml/book

The Rust Machine Learning Book

This repository contains the source of ""

This repository contains the source of "".

Purpose

The aim of this book is to demonstrate how the Rust language can be used for Machine Learning tasks. They encompass classical ML algorithms, like Naive Bayes Classifier, but also more modern approaches. Most of the classical algorithms are contained in the rust-ml/linfa crate and ready to use.

Audience

The reader should have a basic knowledge of Rust type-system and linear algebra. A small recap on rust-ndarray type system should familiarize the reader with its applications and limitations.

Requirements

Building this book requires mdBook and the scientific plugin.

$ cargo install mdbook

Building

You can build the book with

$ mdbook build

and append

$ mdbook build --open

in order to open it afterwards.

Code samples contained in the code/ directory, and can be run individually using:

$ cd code/
$ cargo run --example name_of_algorithm
Issues

Collection of the latest Issues

quietlychris

quietlychris

Comment Icon0

Now that linfa 0.6 has been released, which does not require a BLAS dependency, it should be much easier for users to get started with using it. This book should be updated to the 0.6 release, and specify the 0.3.1 release of plottersfor generating plots.

bytesnake

bytesnake

Comment Icon20

We should build and publish the book automatically to rust-ml.github.io/book on each push:

  • add small CI system which builds the book
  • add gh branch with artifacts
bytesnake

bytesnake

Comment Icon1

The rust-ml group is still in its infancy, but these are already available:

  • linear decision trees
  • non-linear manifolds
  • linear regression
  • a Torch model, for example CIFA-10 dataset with CNN

We should also have an introduction to, not only the algorithms, but also the tools we are using:

  • How to use the ndarray crate and understand type signatures of ArrayBase
  • Give examples for ndarray-stats
  • Integration of gnuplot into the workflow

This list is far from complete and will grow with time. If you know any algorithm, you want to add, please feel free to contribute.

Information - Updated Jul 27, 2022

Stars: 114
Forks: 13
Issues: 5

Repositories & Extras

Rustml is a library for doing machine learning in Rust

The documentation of the project with a descprition of the modules can be found

Rustml is a library for doing machine learning in Rust

A CHIP-8 virtual machine written in Rust

Install Rust using the How to write an emulator (CHIP-8 interpreter)

A CHIP-8 virtual machine written in Rust

My first attempt at machine learning in rust

This library currently only offers very basic KNN

My first attempt at machine learning in rust

rust-machine-learning-api-example

Example of Rust API for Machine Learning

rust-machine-learning-api-example

MachineID for Rust - Like

This Rust package is inspired by

MachineID for Rust - Like

LIBFFM - field-aware factorization machines - in Rust

LIBFFM C++ library and is available under the same license

LIBFFM - field-aware factorization machines - in Rust

A minimalist, very lightweight library for machine learning in Rust

Please note: Due to Rust's inherent design, Elara ML only runs fast if you compile in release mode

A minimalist, very lightweight library for machine learning in Rust

A project where I experiment with machine learning and Rust, learning everything from scratch and...

A project where I experiment with machine learning and Rust, learning everything from scratch and not using any third-party library for machine learning

A project where I experiment with machine learning and Rust, learning everything from scratch and...
Facebook Instagram Twitter GitHub Dribbble
Privacy