ML with Ruby¶
Learning, implementing, and applying Machine Learning using Ruby.
Source
119 resources imported from arbox/machine-learning-with-ruby, dedicated to the public domain (CC0 / Unlicense). Thanks to its maintainers and contributors. Part of the KEEBOX Library · Category: Computer Science.
Tutorials¶
- Ruby neural networks
- How to implement linear regression in Ruby
- How to implement classification using logistic regression in Ruby
- How to implement simple binary classification using a Neural Network in Ruby
- How to implement classification using a SVM in Ruby
- Unsupervised learning using k-means clustering in Ruby
- Teaching an AI to play a simple game using Q-Learning in Ruby
- Teaching a Neural Network to play a game using Q-Learning in Ruby
- Using the Python scikit-learn machine learning library in Ruby using PyCall
- How to evolve neural networks in Ruby using the Machine Learning Workbench
Machine Learning Libraries¶
Frameworks¶
- LangChain.rb -
- weka -
- ai4r -
- classifier-reborn -
- scoruby -
- rblearn - Feature Extraction and Crossvalidation library.
- data_modeler -
- shogun - Polyfunctional and mature
- aws-sdk-machinelearning -
- azure_mgmt_machine_learning -
- machine_learning_workbench -
- Deep NeuroEvolution -
- rumale -
- eps - Bayesian Classification and Linear Regression with exports
- ruby-openai - OpenAI API wrapper
- Instruct - Inspired by Guidance; weave code, prompts and completions together to instruct LLMs to do what you want.
Neural networks¶
- neural-net-ruby -
- ruby-fann -
- cerebrum -
- tlearn-rb -
- brains -
- machine_learning_workbench -
- rann -
Deep learning¶
- tensor_stream -
- red-chainer - Deep learning framework for Ruby.
- tensorflow - Ruby bindings for TensorFlow.
- ruby-dnn - Simple deep learning for Ruby.
- torch-rb - Ruby bindings for LibTorch
- mxnet - Ruby bindings for mxnet.
Kernel methods¶
Evolutionary algorithms¶
Bayesian methods¶
- linnaeus -
- naive_bayes -
- nbayes -
Decision trees¶
Clustering¶
- kmeans-clusterer -
- k_means -
- knn -
Linear classifiers¶
Statistical models¶
Gradient boosting¶
Vector search¶
- flann -
- annoy-rb -
- hnswlib.rb -
- ngt-ruby -
- milvus —
- pinecone —
- qdrant-ruby —
- weaviate-ruby —
Applications of machine learning¶
- phashion -
Articles, Posts, Talks, and Presentations¶
- _Discover Machine Learning in Ruby_ by [Justin Bowen](https://twitter.com/TonsOfFun111)
- _TensorStream: Bringing Machine Learning to Ruby_ by [Joseph Emmanuel Dayo](https://www.linkedin.com/in/jdayo/)
- _Easy machine learning with Ruby using SVMKit_ by [@kojix](https://twitter.com/kojix2dayo)
- _Deep Learning Programming on Ruby_ by [Kenta Murata](https://twitter.com/mrkn)
- _How to use trained Keras and TensorFlow machine learning models within Ruby on Rails_ by [Denis Sellu](https://twitter.com/denis_sellu)
- _Scientific Computing on JRuby_ by [Prasun Anand](https://twitter.com/prasun_anand)
- _Is it Food? An Introduction to Machine Learning_ by [Matthew Mongeau](https://twitter.com/halogenandtoast)
- _Bayes is BAE_ by [Richard Schneeman](https://twitter.com/schneems)
- _Ruby Roundtable: Machine Learning in Ruby_ by [RubyThursday](https://rubythursday.com/)
- _Practical Machine Learning with Ruby_ by [Jordan Hudgens](https://twitter.com/jordanhudgens)
- _Deep Learning: An Introduction for Ruby Developers_ by [Geoffrey Litt](https://twitter.com/geoffreylitt)
- _How I made a pure-Ruby word2vec program more than 3x faster_ by [Kei Sawada](https://twitter.com/remore)
- _Dōmo arigatō, Mr. Roboto: Machine Learning with Ruby_ by [Eric Weinstein](https://twitter.com/ericqweinstein)
- _Building a Recommendation Engine with Machine Learning Techniques_ by [Brian Sam-Bodden](https://twitter.com/bsbodden)
- :sparkles: _SciRuby Machine Learning: Current Status and Future_ by [Kenta Murata](https://twitter.com/mrkn)
- _Ruby Roundtable: Intro to Tensorflow_ by [RubyThursday](https://rubythursday.com/)
- _Machine Learning made simple with Ruby_ by [Lorenzo Masini](https://twitter.com/rugginoso)
- _Using Ruby Machine Learning to Find Paris Hilton Quotes_ by [Rick Carlino](https://github.com/RickCarlino)
- _Test Driven Neural Networks_ by [Matthew Kirk](https://twitter.com/mjkirk)
- _Five machine learning techniques that you can use in your Ruby apps today_ by [Benjamin Curtis](https://twitter.com/stympy)
- _Machine Learning for Fun and Profit_ by [John Paul Ashenfelter](https://twitter.com/johnashenfelter)
- _Sentiment Analysis using Support Vector Machines in Ruby_ by [Matthew Kirk](https://twitter.com/mjkirk)
- _Recommender Systems with Ruby_ by [Marcel Caraciolo](https://twitter.com/marcelcaraciolo)
- _Machine Learning with Ruby, Part One_ by [Vasily Vasinov](https://twitter.com/vasinov)
- _Recurrent Neural Networks in Ruby_ by [Joseph Wilk](https://twitter.com/josephwilk)
- _Recommendation Engines using Machine Learning, and JRuby_ by [Matthew Kirk](https://twitter.com/mjkirk)
- _Practical Machine Learning and Rails_ by [Andrew Cantino](https://twitter.com/tectonic)
- _Clustering in Ruby_ by [Colin Drake](https://twitter.com/colinfdrake)
- _Text Classification using Support Vector Machines in Ruby_ by [Rimas Silkaitis](https://twitter.com/neovintage)
- _bayes_motel – Bayesian classification for Ruby_ by [Mike Perham](https://twitter.com/mperham)
- _Intelligent Ruby: Getting Started with Machine Learning_ by [Ilya Grigorik](https://twitter.com/igrigorik)
- _Support Vector Machines (SVM) in Ruby_ by [Ilya Grigorik](https://twitter.com/igrigorik)
- _Decision Tree Learning in Ruby_ by [Ilya Grigorik](https://twitter.com/igrigorik)