The most advanced machine learning library in Rust

SmartCore is a comprehensive library for machine learning and numerical computing. The library provides a set of tools for linear algebra, numerical computing, optimization, and enables a generic, powerful yet still efficient approach to machine learning.

Get Started with SmartCore »

Supervised Learning

  • Linear and Logistic Regression
  • Decision Tree Regression
  • Random Forest Regression
  • Decision Tree Classifier
  • Random Forest Classifier
  • Supervised Nearest Neighbors

Unsupervised Learning

  • K-Means Clustering
  • Principal component analysis (PCA)
  • LU Decomposition
  • QR Decomposition
  • Singular value decomposition (SVD)
  • EVD Decomposition

Model Evaluation

  • Model selection
  • Metrics and scoring
  • Distance metrics
  • Toy datasets
  • Works with ndarray and nalgebra
  • Serializing and deserializing with Serde