Machine Learning > ML with Ruby
Learning, implementing, and applying Machine Learning using Ruby.
Contents
Tutorials
code
Machine Learning Libraries
Frameworks
Build ML/AI-supercharged applications with Ruby's LangChain.
JRuby bindings for Weka, different ML algorithms implemented through Weka.
Artificial Intelligence for Ruby.
General classifier module to allow Bayesian and other types of classifications.
Ruby scoring API for PMML (Predictive Model Markup Language).
Feature Extraction and Crossvalidation library.
Model your data with machine learning. Ample test coverage, examples to start fast, complete documentation. Production ready since 1.0.0.
Polyfunctional and mature machine learning toolbox with Ruby bindings.
Machine Learning API of the Amazon Web Services.
Machine Learning API of the Microsoft Azure.
Experimental setup based on the machinelearningworkbench towards searching for deep neural networks (rather than training) using evolutionary algorithms. Applications to the OpenAI Gym using PyCall.
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][scikit] in Python.
Bayesian Classification and Linear Regression with exports using PMML and an alternative backend using [GSL][gsl].
OpenAI API wrapper
Inspired by Guidance; weave code, prompts and completions together to instruct LLMs to do what you want.
Neural networks
Neural network written in Ruby.
Ruby bindings to the Fast Artificial Neural Network Library (FANN).
Experimental implementation for Artificial Neural Networks in Ruby.
Recurrent Neural Network library for Ruby.
Feed-forward neural networks for JRuby based on brains.
Flexible Ruby ANN implementation with backprop (through-time, for recurrent nets), gradient checking, adagrad, and parallel batch execution.
Deep learning
Ground-up and standalone reimplementation of TensorFlow for Ruby.
Deep learning framework for Ruby.
Ruby bindings for TensorFlow.
Simple deep learning for Ruby.
Ruby bindings for LibTorch using rice.
Ruby bindings for mxnet.
Kernel methods
Bayesian methods
Decision trees
Clustering
Linear classifiers
Statistical models
Memory based learners from the Timbl framework.
Ruby implementation of the LDA (Latent Dirichlet Allocation) for automatic Topic Modelling and Document Clustering.
JRuby maximum entropy classifier for string data, based on the OpenNLP Maxent framework.
Generalized rack framework for text classifications.
Naive Bayes text classification implementation as an OmniCat classifier strategy.
Gradient boosting
Vector search
Ruby bindings for the FLANN (Fast Library for Approximate Nearest Neighbors).
Ruby bindings for the Annoy (Approximate Nearest Neighbors Oh Yeah).
Ruby bindings for the Hnswlib that implements approximate nearest neighbor search with Hierarchical Navigable Small World graphs.
Ruby bindings for the NGT (Neighborhood Graph and Tree for Indexing High-dimensional data).
Ruby client for Milvus Vector DB.
Ruby client for Pinecone Vector DB.
Ruby wrapper for the Qdrant vector search database API.
Ruby wrapper for the Weaviate vector search database API.
Projects and Code Examples
Applications of machine learning
Data visualization
Articles, Posts, Talks, and Presentations
Heroku buildpacks
Books, Blogs, Channels
Related Resources
Among other awesome items a short list of NLP related projects.
State-of-Art collection of Ruby libraries for NLP.
General List of NLP related resources (mostly not for Ruby programmers).
IRuby kernel for Jupyter (formerly IPython).
Lightweight ETL (Extract, Transform, Load) pipeline.
Multitude of OCR (Optical Character Recognition) resources.
Machine Learning with TensorFlow libraries.
Ruby interface to the GNU Scientific Library.
Modern Reference and Tutorial on Embedding and Extending Ruby using C programming language.