#8 · Primary category: Classical Machine Learning Frameworks
linfa
A Rust machine learning framework.
Project last updated:08/22/26
GitHub Stars
4.7K
Forks
337
Contributors
66
License
Apache-2.0
Why we included this project
Rust teams who want to keep their stack in a single language have a solid option in Linfa, a machine learning toolkit that plays the role scikit-learn does for Python. It is built as a set of small crates, each holding one algorithm or a tight family of them, covering the workhorse methods like linear and logistic regression, SVM, decision trees, k-means, DBSCAN, and naive Bayes, along with preprocessing helpers for normalization, TF-IDF vectorization, and PCA. Because the algorithms are split into separate sub-crates, a project can pull in just what it needs without adopting a heavy dependency. The same modularity keeps the code readable, which helps when your team wants to understand and audit what a model actually computes. If introducing another language or runtime was the thing holding you back from doing ML, Linfa keeps that work inside Rust.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
scikit-learn
scikit-learn: machine learning in Python
pyod
A Python library for anomaly detection across tabular, time series, graph, text, image, and audio data. 60+ detectors, benchmark-backed ADEngine orchestration, and an agentic workflow for AI agents.
dowhy
DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
umap
Uniform Manifold Approximation and Projection
imbalanced-learn
A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning