Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RustyML User Guide

RustyML provides machine learning models, neural networks, data utilities, and evaluation metrics for Rust. This book explains the main public APIs in RustyML 0.17.0. It assumes basic Rust and Cargo knowledge.

Start with Installation, then run Your first model. Read the other chapters when you need their APIs.

TaskChapter
Split data, scale features, or encode labelsPrepare data
Predict values or class labelsSupervised models
Find clusters or reduce feature countsUnsupervised models
Build and train a neural networkNeural networks
Select layers and tensor shapesNeural network layers
Measure model resultsEvaluate models
Save and load a classical modelModel files
Handle failed operationsErrors
Repeat randomized operationsRandom seeds

The examples use small arrays to show API use. Their scores do not measure performance on real datasets. For complete type and method details, use the API reference.