Linfa
A toolkit for building classic machine learning programs in the Rust programming language.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Linux, Windows, Mac, Web browser
- Computer
- An ordinary computer is fine
A toolkit for building classic machine learning programs in the Rust programming language.
Linfa is a collection of building blocks for machine learning in Rust, a programming language. Its makers say it is similar in spirit to scikit-learn, a popular machine learning toolkit for Python.
It focuses on preparing data and on well-established methods. Examples include grouping similar data points (clustering), decision trees, linear regression (fitting a line to data), support vector machines and ways to simplify large datasets.
Each method comes as a separate package. It can also run in a web browser through WebAssembly, a way to run compiled code inside web pages.
Programmers who write Rust and want to add everyday machine learning tasks to their software.
Developers only. It is a code library that you use by writing Rust programs. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?