Shelf

ML with Ruby

Tutorials, libraries, example projects, books and communities for doing machine learning in the Ruby language.

ML with Ruby is the awesome list arbox/machine-learning-with-ruby, kept by arbox on GitHub. It names 106 items in 19 sections. It has 2,226 stars on GitHub and its last push was on . Its largest sections are Machine Learning Libraries (57), Related Resources (20), :sparkles: Tutorials (10). The projects in it with the most stars are xgboost, LightGBM, awesome-tensorflow, awesome-ruby, aws-sdk-ruby. Most of its repositories are written in Ruby. Read the original on GitHub ↗ · Suggest a change

See also NLP with Ruby, Ruby, Machine Learning

106 of 106 Contents

:sparkles: Tutorials 10 #

  1. Ruby neural networks honeybadger.io
  2. How to implement linear regression in Ruby practicalai.io code
  3. How to implement classification using logistic regression in Ruby practicalai.io
  4. How to implement simple binary classification using a Neural Network in Ruby practicalai.io code
  5. How to implement classification using a SVM in Ruby practicalai.io code
  6. Unsupervised learning using k-means clustering in Ruby practicalai.io code
  7. Teaching an AI to play a simple game using Q-Learning in Ruby practicalai.io code
  8. Teaching a Neural Network to play a game using Q-Learning in Ruby practicalai.io code
  9. Using the Python scikit-learn machine learning library in Ruby using PyCall practicalai.io code
  10. How to evolve neural networks in Ruby using the Machine Learning Workbench github.com

Machine Learning Libraries #

Frameworks 16 #

  1. LangChain.rb patterns-ai-core · ★ 2,006 · in 2 lists
  2. weka paulgoetze · ★ 65 · in 3 lists
  3. ai4r sergiofierens · ★ 722 · in 2 lists · updated 2025
  4. classifier-reborn jekyll · ★ 559 · in 3 lists · updated 2024 quiet
  5. scoruby asafschers · ★ 70 · in 2 lists · updated 2022 quiet PMML
  6. rblearn himkt · ★ 2 · in 2 lists · updated 2016 quiet
  7. data_modeler giuse · ★ 1 · updated 2017 quiet
  8. shogun shogun-toolbox · C++ · ★ 3,083 · in 4 lists · updated 2023 quiet Ruby bindings
  9. aws-sdk-machinelearning aws · ★ 3,652 · in 3 lists
  10. azure_mgmt_machine_learning azure · ★ 276 · updated 2023 archived
  11. machine_learning_workbench giuse · ★ 20 · updated 2021 quiet Numo Cumo
  12. Deep NeuroEvolution giuse · ★ 127 · updated 2019 quiet machine_learning_workbench OpenAI Gym PyCall
  13. rumale yoshoku · ★ 920 · in 3 lists Scikit-Learn
  14. eps ankane · ★ 693 PMML GSL
  15. ruby-openai alexrudall · ★ 3,216 · in 3 lists
  16. Instruct instruct-rb · ★ 49 · updated 2025

Neural networks 7 #

  1. neural-net-ruby gbuesing · ★ 126 · updated 2017 quiet
  2. ruby-fann tangledpath · C · ★ 506 · in 3 lists · updated 2024 quiet Fast Artificial Neural Network Library (FANN)
  3. cerebrum irfansharif · ★ 36 · updated 2019 quiet
  4. tlearn-rb josephwilk · C · ★ 97 · updated 2018 quiet
  5. brains jedld · ★ 60 · updated 2017 quiet brains
  6. machine_learning_workbench github.com
  7. rann mikecmpbll · ★ 3 · updated 2017 quiet

Deep learning 6 #

  1. tensor_stream jedld · ★ 502 · updated 2020 quiet
  2. red-chainer red-data-tools · ★ 103 · updated 2022 quiet
  3. tensorflow somaticio · ★ 827 · in 2 lists · updated 2022 quiet TensorFlow
  4. ruby-dnn unagiootoro · ★ 46 · updated 2023 quiet
  5. torch-rb ankane · ★ 842 · in 2 lists LibTorch rice
  6. mxnet mrkn · ★ 48 · updated 2020 quiet mxnet

Kernel methods 1 #

  1. rb-libsvm febeling · C++ · ★ 279 · in 4 lists · updated 2023 quiet LIBSVM

Evolutionary algorithms 2 #

  1. machine_learning_workbench github.com
  2. simple_ga giuse · ★ 11 · updated 2016 quiet

Bayesian methods 3 #

  1. linnaeus djcp · ★ 37 · in 2 lists · updated 2015 quiet
  2. naive_bayes reddavis · ★ 49 · in 2 lists · updated 2012 quiet
  3. nbayes oasic · ★ 155 · in 2 lists · updated 2024 quiet

Decision trees 1 #

  1. decisiontree igrigorik · ★ 1,504 · in 3 lists · updated 2018 quiet post

Clustering 3 #

  1. kmeans-clusterer gbuesing · ★ 99 · updated 2020 quiet
  2. k_means reddavis · ★ 113 · updated 2016 archived
  3. knn reddavis · ★ 37 · updated 2020 quiet

Linear classifiers 2 #

  1. liblinear-ruby-swig tomz · C++ · ★ 83 · in 2 lists · updated 2023 quiet
  2. liblinear-ruby kei500 · C++ · ★ 82 · updated 2019 quiet

Statistical models 5 #

  1. rtimbl maspwr · C++ · ★ 5 · in 2 lists · updated 2009 quiet
  2. lda-ruby ealdent · ★ 135 · in 2 lists LDA
  3. maxent_string_classifier mccraigmccraig · ★ 9 · in 2 lists · updated 2009 quiet
  4. omnicat mustafaturan · ★ 11 · in 2 lists · updated 2021 quiet
  5. omnicat-bayes mustafaturan · ★ 31 · in 2 lists · updated 2021 quiet

Gradient boosting 3 #

  1. xgboost paironair · ★ 20 · updated 2018 quiet
  2. xgb ankane · ★ 121
  3. lightgbm ankane · ★ 85

Applications of machine learning 1 #

  1. phashion westonplatter · ★ 713 · in 2 lists · updated 2025

Projects and Code Examples 3 #

  1. Wine Clustering hexgnu · ★ 0 · updated 2014 quiet
  2. simple_ga giuse · ★ 11 · updated 2016 quiet
  3. Handwritten Digits Recognition jdrzj · ★ 6 · updated 2021 quiet

Heroku buildpacks 3 #

  1. GSL and Ruby buildpack tomwolfe · ★ 3 · updated 2020 quiet
  2. OpenCV and Ruby buildpack nowaterlili · ★ 3 · updated 2014 quiet
  3. ImageMagick buildpack mcollina · Shell · ★ 46 · updated 2015 quiet

Books, Blogs, Channels 2 #

  1. Kirk, Matthew twitter.com Amazon code
  2. Practical Artificial Intelligence practicalai.io

Community 10 #

  1. SciRuby Mailing List groups.google.com
  2. SciRuby Slack sciruby.slack.com
  3. Red Data Gitter gitter.im
  4. Reddit reddit.com
  5. Stack Overflow stackoverflow.com
  6. Twitter twitter.com
  7. NonWebRuby twitter.com
  8. Ruby AI Builders Discord discord.gg
  9. X Ruby AI group twitter.com
  10. Mastodon Ruby AI and Data group ruby.social

Related lists

  1. NLP with Ruby arbox/nlp-with-ruby

    Ruby libraries for processing human language: tokenising, tagging, parsing, search, OCR and language resources, plus books and communities.

    129 items · ★ 1,076 · updated 2023 · Computer Science · 22 projects in common quiet

  2. Ruby markets/awesome-ruby

    Ruby gems and tools sorted by task, from admin panels and authentication to testing and web servers.

    973 items · ★ 14,192 · Programming Languages · 14 projects in common

  3. Machine Learning josephmisiti/awesome-machine-learning

    Machine learning frameworks and libraries sorted by programming language, from C++ and Java to Python and R.

    1,249 items · ★ 74,940 · Computer Science · 9 projects in common

  4. Data Science krzjoa/awesome-python-data-science

    Python libraries for data science: machine learning, deep learning, NLP, vision, time series, statistics and visualisation.

    380 items · ★ 3,663 · Programming Languages · 3 projects in common

  5. Awesome sindresorhus/awesome

    The index of hundreds of topic lists on GitHub, grouped from platforms and languages to security and science.

    676 items · ★ 545,046 · Miscellaneous · 3 projects in common

More in Computer Science

  1. Open Source Society University ossu/computer-science

    A self-study curriculum of free online courses covering a full undergraduate computer science education.

    63 items · ★ 211,686

  2. University Courses prakhar1989/awesome-courses

    University computer science courses with their lectures, readings and assignments available online.

    661 items · ★ 73,262 · updated 2023 quiet

  3. Data Science academic/awesome-datascience

    Courses, tools, literature, communities and agent projects for learning and practising data science.

    704 items · ★ 30,383

  4. Deep Learning christoschristofidis/awesome-deep-learning

    Books, courses, lectures, papers, tutorials and researchers for learning deep learning with neural networks.

    584 items · ★ 29,245 · updated 2025

  5. Papers terryum/awesome-deep-learning-papers

    Widely cited research papers in deep learning, grouped by topic such as models, optimisation and applications.

    not read yet · ★ 26,207 · updated 2024 quiet

  6. Computer Vision jbhuang0604/awesome-computer-vision

    Books, courses, papers, software, pre-trained models and data sets for computer vision, teaching machines to interpret images.

    511 items · ★ 23,672 · updated 2024 quiet

  7. Tutorials ujjwalkarn/machine-learning-tutorials

    Tutorials, articles, cheat sheets and interview material on machine learning methods, from regression to deep learning.

    481 items · ★ 18,396 · updated 2024 quiet

  8. TensorFlow jtoy/awesome-tensorflow

    Tutorials, models, libraries, tools, papers and books about TensorFlow, Google's machine learning framework.

    165 items · ★ 17,533

About this list

Stars
2,226
Last push
Licence
CC0-1.0
Entries
106 items in 19 sections
Named by
3 other lists
Markdown
arbox/machine-learning-with-ruby.md

This page is an index of ML with Ruby, a list kept by arbox and its contributors at github.com/arbox/machine-learning-with-ruby. The selection and order are theirs; the summary above is ours. Read at commit c8c2503 on . Licence: CC0-1.0.

↑ ↓ to move, Enter to open, Esc to close