Published September 28, 2025 | Version v0.4.3

smartcore: Machine Learning in Rust

Authors/Creators

Contributors

Project leader:

Description

A comprehensive library for Machine Learning and numerical computing (clustering, decomposition, ensemble, sorting, closest neighbours, naive Bayes). Apply Machine Learning with Rust leveraging first principles. `smartcore` is designed to be easily-readable (no macros) and run on single-thread (edge) devices. Operations on matrices rows can be easily parallelised using the `rayon` library. It has been developed to be a gateway for ML practioners that wants to learn Rust and/or Rust developer that wants to get more familiar with numerical concepts. `smartcore` provides an abstraction to define custom numerical systems or reuse the one provided by `ndarray`. It is a flexible light-weight solution (binary file is around 5Mb, possibility of features selection).
Slides available at https://www.tuned.org.uk/smartcorelib
Please consider contributing on Github.

Files

Files (386.1 kB)

Name Size Download all
md5:6997e3ae58e125cf3ae51e82d6a8cb98
386.1 kB Download

Additional details

Related works

Is cited by
Preprint: 10.36227/techrxiv.175751921.18542359/v1 (DOI)
Journal: 10.21105/joss.09002 (DOI)

Software

Repository URL
https://github.com/smartcorelib/smartcore
Programming language
Rust
Development Status
Active