vaaaaanquish bc97f49d2f add hnsw
2021-02-24 03:22:48 +09:00
2021-02-23 23:39:43 +09:00
2021-02-24 03:22:48 +09:00

Awasome-Rust-MachineLearning

Awasome Rust Machine Learning crate list that writing this with the idea of migrating from Python.

It's a list with the major items at the top.

ToC

Undercarriage

Jupter Notebook

Plot

  • 38/plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
  • igiagkiozis/plotly - Plotly for Rust
  • SiegeLord/RustGnuplot - A Rust library for drawing plots, powered by Gnuplot.

Vector

Most things use ndarray or std::vec. Also look at nalgebra.

ndarray vs nalgebra - reddit https://www.reddit.com/r/rust/comments/btn1cz/ndarray_vs_nalgebra/

Dataframe

Mainstream is polars using arrow.

Image Processing

Natural Language Processing (preprocessing)

There is also the familiar huggingface/tokenizers in Python. In rs-natural, addition to Tokenize, Distance, NGrams, Naive-Bayes and TF-IDF can also be used.

ref

Comprehensive (like sklearn)

Many libraries support the following.

  • Linear Regression
  • Logistic Regression
  • K-Means Clustering
  • Neural Networks
  • Gaussian Process Regression
  • Support Vector Machines
  • kGaussian Mixture Models
  • Naive Bayes Classifiers
  • DBSCAN
  • k-Nearest Neighbor Classifiers
  • Principal Component Analysis
  • Decision Tree
  • Support Vector Machines
  • Naive Bayes
  • Elastic Net

It write down the features.

Gradient Boosting

catboost is for predict only.

Deep Neaural Network

Tensorflow or Pythorch are the most common. tch-rs also includes torch vision.

Natural Language Processing (model)

Recommendation

For Matrix Factorization, you can use rustlearn.

  • jackgerrits/vowpalwabbit-rs - 🦀🐇 Rusty VowpalWabbit
  • hja22/rucommender - Rust implementation of user-based collaborative filtering
  • chrisvittal/quackin - A recommender systems framework for Rust
  • snd/onmf - fast rust implementation of online nonnegative matrix factorization as laid out in the paper "detect and track latent factors with online nonnegative matrix factorization"

Information Retrieval

ANN search (approximate nearest neighbor)

  • Enet4/faiss-rs - Rust language bindings for Faiss
  • rust-cv/hnsw - HNSW ANN from the paper "Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs"
  • granne/granne - Graph-based Approximate Nearest Neighbor Search
  • kornelski/vpsearch - C library for finding nearest (most similar) element in a set
  • mrhooray/kdtree-rs - K-dimensional tree in Rust for fast geospatial indexing and lookup

Reinforcement Learning

  • tspooner/rsrl - A fast, safe and easy to use reinforcement learning framework in Rust.
  • milanboers/rurel - Flexible, reusable reinforcement learning (Q learning) implementation in Rust
  • MrRobb/gym-rs - OpenAI Gym bindings for Rust

Unsupervised learning

Thanks

Thanks for all the projects.

This document is based on a blog in Japanese Rustで扱える機械学習関連のクレート2021.

Please PR. Thanks.

Reference & Nearby Projects

Description
This repository is a list of machine learning libraries written in Rust. It's a compilation of GitHub repositories, blogs, books, movies, discussions, papers, etc. 🦀
Readme MIT 32 MiB
Languages
JavaScript 50.5%
HTML 49.5%