BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

ai4r

v2.0RubyGems· Ruby

AI4R is a lightweight, educational Ruby library featuring clean implementations of core machine learning and AI algorithms—such as decision trees, neural networks, k-means, genetic algorithms, and even a bit size Transformers architecture covering encoder, decoder, and seq2seq variations. Designed with simplicity and clarity in mind, this library is ideal for students, educators, and developers who want to understand these algorithms line by line. With no external dependencies, no GPU support, and no production overhead, AI4R serves as a practical and transparent way to explore the foundations of AI in Ruby. It is a long-maintained open-source effort to bring accessible, hands-on machine learning to the Ruby community.

The verdict
Aging — last published 11 months ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 11 months ago — check before adopting.
Popularity
80 downloads / week
Security
No known advisories for this version (OSV).
License
Unlicense
Dependencies
No runtime dependencies
Recent releases
  • 2.011 months ago
  • 1.1312 years ago
  • 1.1213 years ago
  • 1.1114 years ago
  • 1.916 years ago
  • 1.016 years ago
  • 1.116 years ago
  • 1.216 years ago
ai4r — AI4R is a lightweight, educational Ruby library featuring clean implementations of core machine learning and AI algorithms—such as decision trees, neural networks, k-means, genetic algorithms, and even a bit size Transformers architecture covering encoder, decoder, and seq2seq variations. Designed with simplicity and clarity in mind, this library is ideal for students, educators, and developers who want to understand these algorithms line by line. With no external dependencies, no GPU support, and no production overhead, AI4R serves as a practical and transparent way to explore the foundations of AI in Ruby. It is a long-maintained open-source effort to bring accessible, hands-on machine learning to the Ruby community. (Ruby / RubyGems) · Modules