Rust ML Libraries ML Frameworks

Comprehensive machine learning frameworks and libraries for Rust covering supervised/unsupervised learning, algorithms, and numerical computing. Does NOT include embedding-specific tools, vector databases, or domain-specific applications (e.g., kelp classification).

There are 149 rust ml libraries frameworks tracked. 9 score above 50 (established tier). The highest-rated is SomeB1oody/RustyML at 63/100 with 337 stars and 74 monthly downloads. 2 of the top 10 are actively maintained.

Get all 149 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=rust-ml-libraries&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 SomeB1oody/RustyML

A high-performance machine learning library in pure Rust, offering...

63
Established
2 smartcorelib/smartcore

A comprehensive library for machine learning and numerical computing. Apply...

62
Established
3 open-spaced-repetition/fsrs-rs

FSRS for Rust, including Optimizer and Scheduler

61
Established
4 open-spaced-repetition/fsrs-optimizer

FSRS Optimizer Package

59
Established
5 rust-ml/linfa

A Rust machine learning framework.

57
Established
6 paiml/aprender

Next Generation Machine Learning, Statistics and Deep Learning in PURE Rust

57
Established
7 surrealdb/surrealml

A machine learning library for Python and Rust, for PyTorch, Tensorflow and...

53
Established
8 cool-japan/scirs

SciRS2 - Scientific Computing and AI in Rust

52
Established
9 etsi-ai/etna

A high level abstraction library designed for effortless tabular data based tasks.

52
Established
10 open-spaced-repetition/fsrs4anki

A modern Anki custom scheduling based on Free Spaced Repetition Scheduler algorithm

49
Emerging
11 shenxiangzhuang/bleuscore

BLEU Score in Rust

49
Emerging
12 cool-japan/quantrs

QuantRS2: Rust Quantum Computing Framework

48
Emerging
13 davechallis/rust-xgboost

Rust bindings for XGBoost.

48
Emerging
14 AtheMathmo/rusty-machine

Machine Learning library for Rust

47
Emerging
15 jinlow/forust

A lightweight gradient boosted decision tree package.

47
Emerging
16 cool-japan/sklears

A comprehensive machine learning library in Rust, inspired by scikit-learn's...

47
Emerging
17 cool-japan/optirs

OptiRS is a comprehensive optimization library for machine learning

47
Emerging
18 cool-japan/numrs

NumRS2: High-Performance Numerical Computing in Rust

46
Emerging
19 SkuldNorniern/cetana

An advanced machine learning library empowering developers to build...

46
Emerging
20 anowell/are-we-learning-yet

How ready is Rust for Machine Learning?

45
Emerging
21 open-spaced-repetition/fsrs-browser

FSRS for the browser, including Optimizer and Scheduler

45
Emerging
22 open-spaced-repetition/srs-benchmark

A benchmark for spaced repetition schedulers/algorithms

44
Emerging
23 Skeletonxf/easy-ml

Machine learning library providing matrices, named tensors, linear algebra...

44
Emerging
24 ralfbiedert/ffsvm

FFSVM stands for "Really Fast Support Vector Machine"

44
Emerging
25 Human-Centric-Machine-Learning/memorize

Code and real data for "Enhancing Human Learning via Spaced Repetition...

43
Emerging
26 vaaaaanquish/Awesome-Rust-MachineLearning

This repository is a list of machine learning libraries written in Rust....

43
Emerging
27 CogitatorTech/vq

A vector quantization library for Rust :crab: with Python bindings 🐍

41
Emerging
28 maciejkula/sbr-rs

Deep recommender systems for Rust

41
Emerging
29 rust-ml/book

The Rust Machine Learning Book

41
Emerging
30 tomtung/omikuji

An efficient implementation of Partitioned Label Trees & its variations for...

41
Emerging
31 cmccomb/rust-automl

Automated Machine Learning in Rust 🦀

41
Emerging
32 outbrain-inc/fwumious_wabbit

Fwumious Wabbit, fast on-line machine learning toolkit written in Rust

40
Emerging
33 benjarison/eval-metrics

Evaluation metrics for machine learning

39
Emerging
34 negativa-ai/negativa-ml

A tool analyzing unused GPU code by machine learning workloads

38
Emerging
35 rhaiscript/rhai-ml

Machine learning for Rhai.

37
Emerging
36 smartcorelib/smartcore-examples

SmartCore examples

37
Emerging
37 br0kej/bin2ml

A command line tool for extracting machine learning ready data from software...

37
Emerging
38 Pushp-Kharat1/LEMMA

LEMMA: Logical Engine for Multi-domain Mathematical Analysis

37
Emerging
39 liborty/rstats

Statistics, Information Measures, Linear Algebra, Cholesky Matrix...

36
Emerging
40 KerfuffleV2/repugnant-pickle

Low effort scraping Python's pickle format in Rust. It is to complete...

36
Emerging
41 ErikPartridge/parsnip

Assorted data science metrics for Rust

36
Emerging
42 Schultzer/libblas

BLAS for Rust

35
Emerging
43 shadeMe/liblinear-rs

Rust language bindings for the LIBLINEAR C/C++ library

35
Emerging
44 FL03/concision

Concision is a toolkit for building machine-learning models in Rust.

35
Emerging
45 jackgerrits/reductionml

Reduction-based machine learning framework with a focus on contextual bandits

35
Emerging
46 lazear/simd-euclidean

Calculation of euclidean distance between vectors, with SIMD

35
Emerging
47 jjfiv/fastrank

My most frequently used learning-to-rank algorithms ported to rust for...

34
Emerging
48 sipemu/anofox-regression

Regression analysis in Rust.

34
Emerging
49 fff-rs/juice

The Hacker's Machine Learning Engine

34
Emerging
50 bmsuisse/rusket

rusket 🦀🧺

32
Emerging
51 antononcube/Raku-ML-TriesWithFrequencies

Raku package with functions for creation and manipulation of tries (prefix...

32
Emerging
52 jinlow/discrust

Supervised discretization in Rust

31
Emerging
53 psychonautwiki/karma

Hidden Markov Model using the Baum-Welch algorithm in Rust, reference...

31
Emerging
54 dvigneshwer/DevfestYangon

Contents of Building AI units using Rust talk and Hacker's guide to Rust...

31
Emerging
55 open-spaced-repetition/srs-simulator

A fast, dual‑engine spaced‑repetition simulator for comparing schedulers,...

30
Emerging
56 fff-rs/greenglas

Machine Intelligence Preprocessing Framework

30
Emerging
57 kachark/rust-optimal-transport

Rust Optimal Transport solvers

30
Emerging
58 extendr/mdl

An opinionated and performant reimagining of model matrices using rust

30
Emerging
59 viodotcom/ppca_rs

Python+Rust implementation of the Probabilistic Principal Component Analysis model

29
Experimental
60 Gravitalia/remini

Machine learning algorithms for SBC.

29
Experimental
61 loony-bean/fastapprox-rs

Rust version of fastapprox: approximate versions of functions commonly used...

29
Experimental
62 CogitatorTech/feature-factory

A feature engineering library for Rust 🦀 with Python bindings 🐍 (WIP)

28
Experimental
63 UnixJunkie/orf

OCaml Random Forests

28
Experimental
64 piiadov/quality_control_room

Quality Control Room

27
Experimental
65 victor-iyi/iris

Iris dataset pre-processing in Rust

27
Experimental
66 YoungHaKim7/Machine_Learning_Rust

Machine_Learning_Rust & My Youtube Channel - GlobalYoung...

27
Experimental
67 fff-rs/juice-examples

Examples for the Hacker's Machine Learning Framework Juice which are...

27
Experimental
68 tomtung/craftml-rs

A Rust🦀 implementation of CRAFTML, an Efficient Clustering-based Random...

27
Experimental
69 sanity/pav.rs

An implementation of the Pair Adjacent Violators algorithm for isotonic...

26
Experimental
70 Axect/Peroxide_Gallery

Examples of Peroxide (Rust numeric library)

26
Experimental
71 thfm/scholar

A supervised machine learning library.

23
Experimental
72 miniex/maidenx

A user-friendly ML framework built in Rust

23
Experimental
73 dacarlin/heme

Fast and friendly tools for protein design

23
Experimental
74 jzombie/rust-triplets

Composable data sampling primitives for deterministic multi-source ML/AI...

21
Experimental
75 arclabs561/sheaf

Hierarchical structure, community detection, reconciliation, and conformal prediction

21
Experimental
76 galafis/rust-fundamentals-learning

Hands-on Rust programming exercises covering ownership, borrowing,...

21
Experimental
77 ricardofrantz/libsvm-rs

Pure Rust LIBSVM (v337) with model/CLI compatibility, differential parity...

21
Experimental
78 sipemu/oxits-rs

Time series classification and transformation library for Rust — port of pyts

21
Experimental
79 sablokrep/statreg

regression analysis rust

21
Experimental
80 KjetilIN/rustic_ml

A machine learning library created from scratch with Rust. It focuses on...

21
Experimental
81 sctg-development/french-names-extractor

First names and Last names extracted from INSEE death records

21
Experimental
82 aniketchavan2211/AI-Projects

Rust language based DS, DP, ML & AI

21
Experimental
83 DevAlone/machine-learning-course-by-andrew-ng-in-rust

Implementation of algorithms from machine learning course by Andrew Ng...

21
Experimental
84 arclabs561/fynch

Differentiable sorting and ranking: PAVA, Fenchel-Young losses, and O(n log...

21
Experimental
85 PABannier/sparseglm

Fast and modular solver for sparse generalized linear models

21
Experimental
86 arclabs561/lapl

Spectral methods: graph Laplacian, eigenmaps, spectral clustering

21
Experimental
87 sablokrep/rustshap

rust implementation of shap

21
Experimental
88 LordSaumya/DeepIron

Machine learning library written in Rust

21
Experimental
89 sablokrep/klebnz

giant kelp machine learning

21
Experimental
90 arclabs561/rkhs

Reproducing Kernel Hilbert Space: kernels, MMD, and Dense Associative Memory...

21
Experimental
91 sreyassabbani/tml

An experimental yet robust, type-safe machine learning library implemented...

21
Experimental
92 dvigneshwer/deeprust

Machine learning crate in Rust

20
Experimental
93 aarangop/rust-ml

Implementation of various machine learning algorithms in pure Rust.

20
Experimental
94 IreGaddr/ppflib

🚀 Advanced Physics-Prime Factorization (PPF) computational library: quantum...

20
Experimental
95 orhnk/Mars

Mars is a rust machine learning library. [Goal is to make Simple as possible]

20
Experimental
96 AndreaCatania/grape_ml

Machine learning library

19
Experimental
97 bubble-07/FETISH-RS

(F)unctional (E)mbedding of (T)erms (I)n a (S)patial (H)ierarchy -- as a Rust crate!

19
Experimental
98 dr-saad-la/ds-distilled-with-rust

Data Science distilled with Rust

19
Experimental
99 miniex/maidenx-old

Rust ML Framework designed for learning purposes and building my AI engines...

19
Experimental
100 TheseusInstitute/nix-ml-override

MLOverride enables modern Machine Learning in Nix

18
Experimental
101 ds1sqe/rust_ml_toolkit

Rust Machine Learing Toolkit from scratch

18
Experimental
102 J0y-B0y/Blackforest

Random Forest machine learning library written in Rust

18
Experimental
103 Jordan-M-Young/Pikus

Machine Learning & Linear Algebra Library

18
Experimental
104 jtrawinski/linfa-preprocessing

A data preprocessing library for Rust.

18
Experimental
105 baxtersa/decepticon

Learning about machine learning in Rust

18
Experimental
106 jinlow/closest

A simple KDTree nearest neighbors implementation.

18
Experimental
107 Abhinav-Kumar012/Rust_Python_ML_PE

comparison between Rust and Python in ML domain

17
Experimental
108 sno2/aister

A machine learning API that is completely free and open source that allows...

17
Experimental
109 phase/astral-dunes

gpt impl with rust + pytorch

17
Experimental
110 rdiachenko/ml-lab

Machine learning from scratch in Rust

17
Experimental
111 KyGost/QCT

Quantum Computing Trainer

17
Experimental
112 ether-lang/ether

High-Performance programming language with first-class machine learning and...

17
Experimental
113 andreytkachenko/yarblas

Yet another rust BLAS

17
Experimental
114 gregyjames/RustDecisionTree

Decision Tree implemented in rust

17
Experimental
115 Axect/Noisy_Candle

A Rust project showcasing regression on noisy data using machine learning libraries.

17
Experimental
116 apple-fritter/snar3

📔Transcribe XML formatted Android SMS export to nested TSV files. Written in Rust.

17
Experimental
117 apple-fritter/flotsam

Flotsam is a moderation tool to supplement Jetsam, for IRC logs stored in...

17
Experimental
118 opixelum/atamai

Lightweight ML library in Rust

17
Experimental
119 edfix/mlx-rust

Safe and idiomatic Rust binding for Apple MLX project

17
Experimental
120 justcode740/fastgen

Blazing fast model & feature selection for large datasets

17
Experimental
121 MitchellShibilski-Unkel/RustML

Open-source AI Framework for Rust

17
Experimental
122 apple-fritter/ploop.rs

➿Loop through a TSV file and pass columns of data to an external program....

17
Experimental
123 cool-japan/cool-japan

COOLJAPAN

15
Experimental
124 Saswatsusmoy/treeshap-rs

Exact TreeSHAP in Rust — fast Shapley values for XGBoost, LightGBM, and ONNX...

14
Experimental
125 imclerran/roc-ai

Roc Package for building with LLMs.

14
Experimental
126 UserLeeIsTired/RustML

Rust machine learning from scratch

13
Experimental
127 didinj/rust-machine-learning-ml-getting-started

Getting Started with Machine Learning in Rust

13
Experimental
128 mortylen/ml-knn-metrics-rs

This project implements a simple k-Nearest Neighbors (k-NN) algorithm in the...

13
Experimental
129 jonysy/leaf

A hard-fork of Leaf, an open machine intelligence framework for hackers.

13
Experimental
130 mortylen/ml-compass-guide

Central repository for ML Compass Guide - documentation and links to the web...

13
Experimental
131 Syahideos/distill

🌐 Scrape web pages efficiently and analyze content with LLM using this...

13
Experimental
132 zeerkius/lavalamp

Machine Learning Library In Rust

13
Experimental
133 NoraCodes/mlem

Machine Learning Machine - a VM for machine learning

12
Experimental
134 mbillingr/mldata

Rust crate for loading machine learning data sets with on-demand downloading.

11
Experimental
135 shogun-toolbox/shogun-rust

Shogun for Rust

11
Experimental
136 cleissonbarbosa/ml-linear-regression

Linear Regression Machine learning with rust

11
Experimental
137 drewxs/engram

Machine learning library

11
Experimental
138 benjarison/variational-regression

Regression models trained using variational inference

11
Experimental
139 ArvinSKushwaha/AML2

An ML library built in Rust and Python.

11
Experimental
140 piderking/rml

Machine Learning Library in Rust

11
Experimental
141 cmccomb/tease

Demo your machine learning model in rust 🦀

11
Experimental
142 latekvo/evolution-algo-1

Improved machine learning algorithm, along with it's own saving protocol and...

11
Experimental
143 lnguyenfx/ml-from-scratch

Machine Learning from Scratch using Rust

11
Experimental
144 jordan-castro/Monster-Cock-Builder

MonsterCocks Art NFT.

11
Experimental
145 diefesson/ufc-ai

Repository for the Artificial Inteligence discipline practices

10
Experimental
146 BrentMaples/LLM_in_Rust

This is my implementation of a simple PyTorch LLM in Rust using the tch-rs...

10
Experimental
147 deadcore/rune

Machine learning in rust - pure and simple

10
Experimental
148 matin-karimpour/ML_Rust

A comparison between Linfa algorithms for titanic dataset.

10
Experimental
149 mwrites/ml-rust

Machine Learning Algorithms in Rust

10
Experimental