Track Machine Learning with Ruby Updates Weekly
Curated list: Resources for machine learning in Ruby
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 arbox/machine-learning-with-ruby · ⭐ 2K · 🏷️ Computer Science
Nov 27 - Dec 03, 2023
Community / Vector search
Oct 16 - Oct 22, 2023
Machine Learning Libraries / Frameworks
- ruby-openai (⭐2k) - OpenAI API wrapper
Community / Vector search
Jun 19 - Jun 25, 2023
Articles, Posts, Talks, and Presentations / Vector search
- 2022
- Discover Machine Learning in Ruby by Justin Bowen [video]
Jun 05 - Jun 11, 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 22 - May 28, 2023
Machine Learning Libraries / Frameworks
- LangChain.rb (⭐714) - Build ML/AI-supercharged applications with Ruby's LangChain.
Apr 17 - Apr 23, 2023
Machine Learning Libraries / Vector search
- milvus (⭐14) — Ruby client for Milvus Vector DB.
- 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 01 - Mar 07, 2021
Projects and Code Examples / Vector search
- Handwritten Digits Recognition (⭐5) - Handwritten digits recognition using Neural Networks and Ruby.
Nov 23 - Nov 29, 2020
✨ Tutorials
Oct 26 - Nov 01, 2020
Related Resources / Vector search
- iRuby (⭐801) - IRuby kernel for Jupyter (formerly IPython).
Aug 03 - Aug 09, 2020
Machine Learning Libraries / Deep learning
- red-chainer (⭐101) - Deep learning framework for Ruby.
- mxnet (⭐48) - Ruby bindings for mxnet.
Dec 09 - Dec 15, 2019
Machine Learning Libraries / Deep learning
- torch-rb (⭐595) - Ruby bindings for LibTorch (⭐73k) using rice (⭐355).
Sep 02 - Sep 08, 2019
Machine Learning Libraries / Deep learning
- ruby-dnn (⭐43) - Simple deep learning for Ruby.
Aug 26 - Sep 01, 2019
Related Resources / Vector search
Jun 10 - Jun 16, 2019
Machine Learning Libraries / Frameworks
- eps (⭐631) - Bayesian Classification and Linear Regression with exports using PMML and an alternative backend using GSL.
Jun 03 - Jun 09, 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
Mar 04 - Mar 10, 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 21 - Jan 27, 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 14 - Jan 20, 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 09 - Apr 15, 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 11 - Dec 17, 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 - Oct 08, 2017
✨ Tutorials
Sep 11 - Sep 17, 2017
✨ Tutorials
Jul 31 - Aug 06, 2017
✨ Tutorials
Jul 10 - 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 03 - Jul 09, 2017
✨ Tutorials
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]
- 2011
- Clustering in Ruby by Colin Drake [post]
- Text Classification using Support Vector Machines in Ruby by Rimas Silkaitis [post]
Books, Blogs, Channels / Vector search
- Practical Artificial Intelligence - Blog about Artificial Intelligence and Machine Learning with tutorials and code samples in Ruby.
Community / Vector search
Jun 26 - Jul 02, 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 19 - Jun 25, 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 15 - May 21, 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]
- scoruby (⭐68) - Ruby scoring API for PMML (Predictive Model Markup Language).
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).
Projects and Code Examples / Vector search
- simple_ga (⭐9) - Basic (working) demo of Genetic Algorithms in Ruby.
- Wine Clustering (⭐0) - Wine quality estimations clustered with different algorithms.
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.
Apr 24 - Apr 30, 2017
Heroku buildpacks / Vector search
Related Resources / Vector search
Apr 17 - Apr 23, 2017
Articles, Posts, Talks, and Presentations / Vector search
- 2009
- 2007
- Decision Tree Learning in Ruby by Ilya Grigorik [post]
Books, Blogs, Channels / Vector search
- Kirk, Matthew. Thoughtful Machine Learning: A Test-Driven Approach. O'Reilly, 2014. [Amazon | code (⭐127)]
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.