This repository contains the source of "The Rust Machine Learning Book".
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.
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.
Building this book requires mdBook and the scientific plugin.
$ cargo install mdbook
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