machine-learning-with-ruby
by arbox
Curated list: Resources for machine learning in Ruby
AI summary
ML toolkit
A curated collection of resources and tutorials for building machine learning models using the Ruby programming language.
- stars
- 2.1K
- forks
- 180
- watching
- 115
- awesome lists
- 5
- entries
- 130
What's in the list
130 links in 20 sections, with live GitHub stats.activeno commit in 2y
Tutorials
Machine Learning Libraries / Frameworks
LangChain.rb
- Build ML/AI-supercharged applications with Ruby's LangChain
weka
- JRuby bindings for Weka, different ML algorithms implemented through Weka
ai4r
- Artificial Intelligence for Ruby
classifier-reborn
- General classifier module to allow Bayesian and other types of classifications
scoruby
- Ruby scoring API for (Predictive Model Markup Language)
rblearn
Feature Extraction and Crossvalidation library
data_modeler
- Model your data with machine learning. Ample test coverage, examples to start fast, complete documentation. Production ready since 1.0.0
shogun
Polyfunctional and mature machine learning toolbox with
aws-sdk-machinelearning
- Machine Learning API of the Amazon Web Services
azure_mgmt_machine_learning
- Machine Learning API of the Microsoft Azure
machine_learning_workbench
- Growing machine learning framework written in pure Ruby, high performance computing using , CUDA bindings through . Currently implementating neural networks, evolutionary strategies, vector quantization, and plenty of examples and utilities
Deep NeuroEvolution
- Experimental setup based on the towards searching for deep neural networks (rather than training) using evolutionary algorithms. Applications to the using
rumale
- Machine Learninig toolkit in Ruby with wide range of implemented algorithms (SVM, Logistic Regression, Linear Regression, Random Forest etc.) and interfaces similar to in Python
eps
Bayesian Classification and Linear Regression with exports using and an alternative backend using
ruby-openai
OpenAI API wrapper
Machine Learning Libraries / Neural networks
neural-net-ruby
- Neural network written in Ruby
ruby-fann
- Ruby bindings to the
cerebrum
- Experimental implementation for Artificial Neural Networks in Ruby
tlearn-rb
- Recurrent Neural Network library for Ruby
brains
- Feed-forward neural networks for JRuby based on
machine_learning_workbench
- Framework including pure-Ruby implementation of both feed-forward and recurrent neural networks (fully connected). Training available using neuroevolution (Natural Evolution Strategies algorithms)
rann
- Flexible Ruby ANN implementation with backprop (through-time, for recurrent nets), gradient checking, adagrad, and parallel batch execution
Machine Learning Libraries / Deep learning
tensor_stream
- Ground-up and standalone reimplementation of TensorFlow for Ruby
red-chainer
Deep learning framework for Ruby
tensorflow
Ruby bindings for
ruby-dnn
Simple deep learning for Ruby
torch-rb
Ruby bindings for using
mxnet
Ruby bindings for
Machine Learning Libraries / Kernel methods
rb-libsvm
- Support Vector Machines with Ruby and the library
Machine Learning Libraries / Evolutionary algorithms
machine_learning_workbench
- 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)
simple_ga
- Simplest Genetic Algorithms implementation in Ruby
Machine Learning Libraries / Bayesian methods
linnaeus
- Redis-backed Bayesian classifier
naive_bayes
- Simple Naive Bayes classifier
nbayes
- Full-featured, Ruby implementation of Naive Bayes
Machine Learning Libraries / Decision trees
decisiontree
- Decision Tree ID3 Algorithm in pure Ruby.
Machine Learning Libraries / Clustering
kmeans-clusterer
- k-means clustering in Ruby
k_means
- Attempting to build a fast, memory efficient K-Means program
knn
- Simple K Nearest Neighbour Algorithm
Machine Learning Libraries / Linear classifiers
liblinear-ruby-swig
- Ruby interface to LIBLINEAR (much more efficient than LIBSVM for text classification)
liblinear-ruby
- Ruby interface to LIBLINEAR using SWIG
Machine Learning Libraries / Statistical models
rtimbl
- Memory based learners from the Timbl framework
lda-ruby
- Ruby implementation of the (Latent Dirichlet Allocation) for automatic Topic Modelling and Document Clustering
maxent_string_classifier
- JRuby maximum entropy classifier for string data, based on the OpenNLP Maxent framework
omnicat
- Generalized rack framework for text classifications
omnicat-bayes
- Naive Bayes text classification implementation as an OmniCat classifier strategy
Machine Learning Libraries / Gradient boosting
Machine Learning Libraries / Vector search
flann
- Ruby bindings for the (Fast Library for Approximate Nearest Neighbors)
annoy-rb
- Ruby bindings for the (Approximate Nearest Neighbors Oh Yeah)
hnswlib.rb
- Ruby bindings for the that implements approximate nearest neighbor search with Hierarchical Navigable Small World graphs
ngt-ruby
- Ruby bindings for the (Neighborhood Graph and Tree for Indexing High-dimensional data)
milvus
— Ruby client for Milvus Vector DB
pinecone
— Ruby client for Pinecone Vector DB
qdrant-ruby
— Ruby wrapper for the Qdrant vector search database API
weaviate-ruby
— Ruby wrapper for the Weaviate vector search database API
Applications of machine learning
phashion
- Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files
Articles, Posts, Talks, and Presentations
- @kojix
by
- Kenta Murata
by &
- Andrew Cantino
by and
Projects and Code Examples
Wine Clustering
- Wine quality estimations clustered with different algorithms
simple_ga
- Basic (working) demo of Genetic Algorithms in Ruby
Handwritten Digits Recognition
- Handwritten digits recognition using Neural Networks and Ruby
Heroku buildpacks
Books, Blogs, Channels
- Kirk, Matthew
. . O'Reilly, 2014
- Practical Artificial Intelligence
- Blog about Artificial Intelligence and Machine Learning with tutorials and code samples in Ruby
Community
Related Resources
Awesome Ruby
- Among other awesome items a short list of NLP related projects
Ruby NLP
- State-of-Art collection of Ruby libraries for NLP
Speech and Natural Language Processing
- General List of NLP related resources (mostly not for Ruby programmers)
- Scientific Ruby
- Linear Algebra, Visualization and Scientific Computing for Ruby
iRuby
IRuby kernel for Jupyter (formerly IPython)
Kiba
- Lightweight (Extract, Transform, Load) pipeline
Awesome OCR
- Multitude of OCR (Optical Character Recognition) resources
Awesome TensorFlow
- Machine Learning with TensorFlow libraries
rb-gsl
- Ruby interface to the
- The Definitive Guide to Ruby's C API
- Modern Reference and Tutorial on Embedding and Extending Ruby using C programming language
Nothing in this list matches your filter.
Featured in 5 awesome lists
Each link jumps to the spot where the list mentions machine-learning-with-ruby.