Track Machine Learning with Ruby Updates Daily
Curated list: Resources for machine learning in Ruby
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 arbox/machine-learning-with-ruby · ⭐ 2K · 🏷️ Computer Science
Nov 30, 2023
Community / Vector search
Oct 22, 2023
Machine Learning Libraries / Frameworks
- ruby-openai (⭐2k) - OpenAI API wrapper
Community / Vector search
Jun 19, 2023
Articles, Posts, Talks, and Presentations / Vector search
- 2022
- Discover Machine Learning in Ruby by Justin Bowen [video]
Jun 06, 2023
Machine Learning Libraries / Clustering
- kmeans-clusterer (⭐93) - k-means clustering in Ruby.
- k_means (⭐115) - Attempting to build a fast, memory efficient K-Means program.
- knn (⭐37) - Simple K Nearest Neighbour Algorithm.
Machine Learning Libraries / Vector search
- flann (⭐2.1k) - Ruby bindings for the FLANN (⭐2.1k) (Fast Library for Approximate Nearest Neighbors). [flann]
- annoy-rb (⭐28) - Ruby bindings for the Annoy (⭐12k) (Approximate Nearest Neighbors Oh Yeah).
- hnswlib.rb (⭐12) - Ruby bindings for the Hnswlib (⭐3.7k) that implements approximate nearest neighbor search with Hierarchical Navigable Small World graphs.
- ngt-ruby (⭐44) - Ruby bindings for the NGT (⭐1.1k) (Neighborhood Graph and Tree for Indexing High-dimensional data).
May 26, 2023
Machine Learning Libraries / Frameworks
- LangChain.rb (⭐714) - Build ML/AI-supercharged applications with Ruby's LangChain.
Apr 23, 2023
Machine Learning Libraries / Vector search
- milvus (⭐14) — Ruby client for Milvus Vector DB.
Apr 20, 2023
Machine Learning Libraries / Vector search
- pinecone (⭐50) — Ruby client for Pinecone Vector DB.
- qdrant-ruby (⭐26) — Ruby wrapper for the Qdrant vector search database API.
- weaviate-ruby (⭐36) — Ruby wrapper for the Weaviate vector search database API.
Mar 07, 2021
Projects and Code Examples / Vector search
- Handwritten Digits Recognition (⭐5) - Handwritten digits recognition using Neural Networks and Ruby.
Nov 16, 2020
✨ Tutorials
Oct 22, 2020
Related Resources / Vector search
- iRuby (⭐801) - IRuby kernel for Jupyter (formerly IPython).
Jul 28, 2020
Machine Learning Libraries / Deep learning
- red-chainer (⭐101) - Deep learning framework for Ruby.
- mxnet (⭐48) - Ruby bindings for mxnet.
Dec 07, 2019
Machine Learning Libraries / Deep learning
- torch-rb (⭐595) - Ruby bindings for LibTorch (⭐73k) using rice (⭐355).
Aug 26, 2019
Machine Learning Libraries / Deep learning
- ruby-dnn (⭐43) - Simple deep learning for Ruby.
Aug 21, 2019
Related Resources / Vector search
Jun 03, 2019
Machine Learning Libraries / Frameworks
- eps (⭐631) - Bayesian Classification and Linear Regression with exports using PMML and an alternative backend using GSL.
Jun 01, 2019
Machine Learning Libraries / Frameworks
- rumale (⭐714) - Machine Learninig toolkit in Ruby with wide range of implemented algorithms (SVM, Logistic Regression, Linear Regression, Random Forest etc.) and interfaces similar to Scikit-Learn in Python.
Machine Learning Libraries / Deep learning
- tensorflow (⭐823) - Ruby bindings for TensorFlow.
Related Resources / Vector search
Feb 26, 2019
Articles, Posts, Talks, and Presentations / Vector search
- 2013
- Sentiment Analysis using Support Vector Machines in Ruby by Matthew Kirk [video | code (⭐12)]
- Recommender Systems with Ruby by Marcel Caraciolo [slides]
- Detecting Faces with Ruby: FFI in a Nutshell by Marc Berszick [post]
Jan 19, 2019
Articles, Posts, Talks, and Presentations / Vector search
- 2019
- TensorStream: Bringing Machine Learning to Ruby by Joseph Emmanuel Dayo [post]
- Easy machine learning with Ruby using SVMKit by @kojix [post]
Jan 08, 2019
Machine Learning Libraries / Frameworks
- shogun (⭐3k) - Polyfunctional and mature machine learning toolbox with Ruby bindings (⭐3k).
Machine Learning Libraries / Deep learning
- tensor_stream (⭐509) - Ground-up and standalone reimplementation of TensorFlow for Ruby.
Articles, Posts, Talks, and Presentations / Vector search
- 2018
- Deep Learning Programming on Ruby by Kenta Murata & Yusaku Hatanaka [slides | page]
- How to use trained Keras and TensorFlow machine learning models within Ruby on Rails by Denis Sellu [post]
Related Resources / Vector search
Apr 14, 2018
✨ Tutorials
Machine Learning Libraries / Frameworks
- machine_learning_workbench (⭐19) - Growing machine learning framework written in pure Ruby, high performance computing using Numo, CUDA bindings through Cumo (⭐91). Currently implementating neural networks, evolutionary strategies, vector quantization, and plenty of examples and utilities.
- Deep NeuroEvolution (⭐124) - Experimental setup based on the machine_learning_workbench (⭐19) towards searching for deep neural networks (rather than training) using evolutionary algorithms. Applications to the OpenAI Gym (⭐33k) using PyCall (⭐1k).
Machine Learning Libraries / Neural networks
- machine_learning_workbench (⭐19) - Framework including pure-Ruby implementation of both feed-forward and recurrent neural networks (fully connected). Training available using neuroevolution (Natural Evolution Strategies algorithms).
Machine Learning Libraries / Evolutionary algorithms
- machine_learning_workbench (⭐19) - Framework including pure-Ruby implementations of Natural Evolution Strategy algorithms (black-box optimization), specifically Exponential NES (XNES), Separable NES (sNES), Block-Diagonal NES (BDNES) and more. Applications include neural network search/training (neuroevolution).
Articles, Posts, Talks, and Presentations / Vector search
- 2015
- Machine Learning made simple with Ruby by Lorenzo Masini [post]
- Using Ruby Machine Learning to Find Paris Hilton Quotes by Rick Carlino [tutorial]
Dec 14, 2017
Machine Learning Libraries / Neural networks
- rann (⭐3) - Flexible Ruby ANN implementation with backprop (through-time, for recurrent nets), gradient checking, adagrad, and parallel batch execution.
Related Resources / Vector search
Oct 02, 2017
✨ Tutorials
Sep 11, 2017
✨ Tutorials
Aug 02, 2017
✨ Tutorials
Jul 16, 2017
✨ Tutorials
Machine Learning Libraries / Frameworks
- aws-sdk-machinelearning (⭐3.5k) - Machine Learning API of the Amazon Web Services.
- azure_mgmt_machine_learning (⭐274) - Machine Learning API of the Microsoft Azure.
Jul 07, 2017
Community / Vector search
Jul 06, 2017
Articles, Posts, Talks, and Presentations / Vector search
- 2011
- Clustering in Ruby by Colin Drake [post]
- Text Classification using Support Vector Machines in Ruby by Rimas Silkaitis [post]
Jul 05, 2017
Articles, Posts, Talks, and Presentations / Vector search
- 2017
- Scientific Computing on JRuby by Prasun Anand [slides | video | slides | slides]
- Is it Food? An Introduction to Machine Learning by Matthew Mongeau [video | slides]
- Bayes is BAE by Richard Schneeman [video | slides]
- Ruby Roundtable: Machine Learning in Ruby by RubyThursday [video]
- 2016
- Practical Machine Learning with Ruby by Jordan Hudgens [tutorial]
- Deep Learning: An Introduction for Ruby Developers by Geoffrey Litt [slides]
- How I made a pure-Ruby word2vec program more than 3x faster by Kei Sawada [slides]
- Dōmo arigatō, Mr. Roboto: Machine Learning with Ruby by Eric Weinstein [slides | video]
- Building a Recommendation Engine with Machine Learning Techniques by Brian Sam-Bodden [video]
- ✨ SciRuby Machine Learning: Current Status and Future by Kenta Murata [slides | video: jp]
- Ruby Roundtable: Intro to Tensorflow by RubyThursday [video]
Jul 04, 2017
✨ Tutorials
Books, Blogs, Channels / Vector search
- Practical Artificial Intelligence - Blog about Artificial Intelligence and Machine Learning with tutorials and code samples in Ruby.
Jun 28, 2017
Machine Learning Libraries / Frameworks
- rblearn (⭐1) - Feature Extraction and Crossvalidation library.
- data_modeler (⭐1) - Model your data with machine learning. Ample test coverage, examples to start fast, complete documentation. Production ready since 1.0.0.
Jun 21, 2017
Articles, Posts, Talks, and Presentations / Vector search
- 2012
- Machine Learning with Ruby, Part One by Vasily Vasinov [tutorial]
- Recurrent Neural Networks in Ruby by Joseph Wilk [post]
- Recommendation Engines using Machine Learning, and JRuby by Matthew Kirk [video]
- Practical Machine Learning and Rails by Andrew Cantino and Ryan Stout [video]
- 2010
- bayes_motel – Bayesian classification for Ruby by Mike Perham [post]
- Intelligent Ruby: Getting Started with Machine Learning by Ilya Grigorik [video]
May 18, 2017
Projects and Code Examples / Vector search
- simple_ga (⭐9) - Basic (working) demo of Genetic Algorithms in Ruby.
May 17, 2017
Machine Learning Libraries / Frameworks
- scoruby (⭐68) - Ruby scoring API for PMML (Predictive Model Markup Language).
May 16, 2017
Machine Learning Libraries / Frameworks
- weka (⭐64) - JRuby bindings for Weka, different ML algorithms implemented through Weka.
- ai4r (⭐711) - Artificial Intelligence for Ruby.
- classifier-reborn (⭐541) - General classifier module to allow Bayesian and other types of classifications. [dep: GLS]
Machine Learning Libraries / Neural networks
- neural-net-ruby (⭐127) - Neural network written in Ruby.
- ruby-fann (⭐465) - Ruby bindings to the Fast Artificial Neural Network Library (FANN).
- cerebrum (⭐35) - Experimental implementation for Artificial Neural Networks in Ruby.
- tlearn-rb (⭐96) - Recurrent Neural Network library for Ruby.
- brains (⭐60) - Feed-forward neural networks for JRuby based on brains (⭐0).
Machine Learning Libraries / Bayesian methods
- linnaeus (⭐37) - Redis-backed Bayesian classifier.
- naive_bayes (⭐47) - Simple Naive Bayes classifier.
- nbayes (⭐152) - Full-featured, Ruby implementation of Naive Bayes.
Machine Learning Libraries / Linear classifiers
- liblinear-ruby-swig (⭐82) - Ruby interface to LIBLINEAR (much more efficient than LIBSVM for text classification).
- liblinear-ruby (⭐83) - Ruby interface to LIBLINEAR using SWIG.
Projects and Code Examples / Vector search
- Wine Clustering (⭐0) - Wine quality estimations clustered with different algorithms.
Apr 26, 2017
Heroku buildpacks / Vector search
Related Resources / Vector search
Apr 21, 2017
Books, Blogs, Channels / Vector search
- Kirk, Matthew. Thoughtful Machine Learning: A Test-Driven Approach. O'Reilly, 2014. [Amazon | code (⭐127)]
Apr 20, 2017
Articles, Posts, Talks, and Presentations / Vector search
- 2009
- 2007
- Decision Tree Learning in Ruby by Ilya Grigorik [post]
Related Resources / Vector search
- Awesome Ruby (⭐13k) - Among other awesome items a short list of NLP related projects.
- Ruby NLP (⭐1.3k) - State-of-Art collection of Ruby libraries for NLP.
- Speech and Natural Language Processing (⭐2.2k) - General List of NLP related resources (mostly not for Ruby programmers).
- Scientific Ruby - Linear Algebra, Visualization and Scientific Computing for Ruby.
- Kiba (⭐1.7k) - Lightweight ETL (Extract, Transform, Load) pipeline.
- Awesome OCR (⭐2.5k) - Multitude of OCR (Optical Character Recognition) resources.
- Awesome TensorFlow (⭐17k) - Machine Learning with TensorFlow libraries.
- rb-gsl (⭐96) - Ruby interface to the GNU Scientific Library.
- The Definitive Guide to Ruby's C API - Modern Reference and Tutorial on Embedding and Extending Ruby using C programming language.