rust-ml/linfa
A Rust machine learning framework. observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 99
- Release rhythm 50
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 84
- age_days: 3072
- days_rel: 253
- days_push: 11
- n_releases_24m: 4
Adoption not part of the score
4736 stars · 335 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Linfa is a Rust machine learning framework offering classical ML algorithms and preprocessing, inspired by Python's scikit-learn. It is organized as sub-crates covering clustering, ensemble methods, linear models, Naive Bayes, and more.
Use cases
- train a random forest in Rust
- cluster data with K-Means or DBSCAN
- fit logistic or elastic net regression models
- run Naive Bayes classification
- preprocess datasets for ML pipelines
- replace scikit-learn with a native Rust alternative
When to choose
- you want classical ML algorithms in pure Rust
- you need memory-safe, fast training without Python dependencies
- you want a scikit-learn-like API in Rust
When to avoid
- you need deep learning or GPU training
- you rely on the breadth of scikit-learn's ecosystem
- you need LLM or transformer tooling
Facets
library · maturity active
machine-learning data-science machine-learning data-science rust scikit-learn classical-ml statistics scientific-computing
2 sources
- readme: https://github.com/rust-ml/linfa · fetched 2026-08-28 · 7b55d56619ea
- registry_crates: https://crates.io/api/v1/crates/linfa · fetched 2026-08-29 · 5f8bb5d9052e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rust-ml/linfa | main | 82 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem