Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rust-ml/book
The Rust Machine Learning Book
https://github.com/rust-ml/book
machine-learning rust
Last synced: 5 days ago
JSON representation
The Rust Machine Learning Book
- Host: GitHub
- URL: https://github.com/rust-ml/book
- Owner: rust-ml
- License: apache-2.0
- Created: 2020-07-31T07:40:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-17T15:31:51.000Z (10 months ago)
- Last Synced: 2024-12-18T04:58:24.835Z (5 days ago)
- Topics: machine-learning, rust
- Language: Rust
- Homepage: https://rust-ml.github.io/book/
- Size: 1.66 MB
- Stars: 201
- Watchers: 8
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE-2.0
Awesome Lists containing this project
README
# The Rust Machine Learning Book
This repository contains the source of "The Rust Machine Learning Book".
## 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 linear regression and KMeans clustering, 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](https://github.com/rust-lang/mdBook).
```bash
$ cargo install mdbook
```## Building
You can build the book with```bash
$ mdbook build
```and append
```bash
$ mdbook build --open
#
$ mdbook serve
```in order to open it afterwards.
Code samples are contained in the `examples/` directory, and can be built as a group or individually using:
```bash
$ cargo build --all
# or
$ cargo run --example name_of_algorithm
```By default, all plots will be written to the `target/` directory, so as not to be indexed by git.