[{"authors":"Sergio Fierens","built_at":"1980-01-02T00:00:00.000Z","created_at":"2025-07-17T15:52:28.262Z","description":"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.\n\nWith 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.\n","downloads_count":4570,"metadata":{"source_code_uri":"https://github.com/SergioFierens/ai4r","rubygems_mfa_required":"true"},"number":"2.0","summary":"Minimalist Ruby library for learning a broad range of ML and AI algorithms.","platform":"ruby","rubygems_version":">= 0","ruby_version":">= 3.1","prerelease":false,"licenses":["Unlicense"],"requirements":[],"sha":"92c38a125292a4091ffc220e2936b33c392d7ad2a723d330923e3d3df5423509","spec_sha":"6dd75ddd559776f5083d59ba236b63430c186158b5f15c28ddb79591698d2d2c"},{"authors":"Sergio Fierens","built_at":"2014-02-05T06:00:00.000Z","created_at":"2014-02-05T16:16:33.338Z","description":null,"downloads_count":304779,"metadata":{},"number":"1.13","summary":"Ruby algorithm implementations covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":[],"requirements":[],"sha":"bf0d2c223d6c65bddcbcd12b485852b2914e4bea0563b58ac7bced65c8bd375e","spec_sha":"4b29255011197ff261ee3c16575fed4a59038165bf576df9f1fb52ec83388e8a"},{"authors":"Sergio Fierens","built_at":"2012-09-07T05:00:00.000Z","created_at":"2012-09-07T21:34:16.573Z","description":null,"downloads_count":11621,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.12","summary":"Ruby algorithm implementations covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"5fb712cf110850eee6213db58653da28ae731bd626303d91c4e4356466680ce6","spec_sha":"512bfad89c40d7b0eb0f255e9a3546d6bef4230c998b97839e3c7a62ac2f843a"},{"authors":"Sergio Fierens","built_at":"2012-02-28T00:00:00.000Z","created_at":"2012-02-28T17:31:46.410Z","description":null,"downloads_count":27866,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.11","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"d469a763c95b56c7736765eff9ba85285c2f83c7544fdba4ebd36cfc257203a7","spec_sha":"4d60e8ea45fca641445cbbc47761167aecb63d0b22b3fe1816a13a93daab0f40"},{"authors":"Sergio Fierens","built_at":"2009-06-30T23:00:00.000Z","created_at":"2009-08-04T23:46:55.000Z","description":"","downloads_count":9602,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.9","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":"> 0.0.0","prerelease":false,"licenses":null,"requirements":null,"sha":"74e2eb8b4c6010b0f4231160893f987989cd786fc88775b88840dc8f62ec19bb","spec_sha":"3096d8fd9d18aa37c8c16fc67209285de2e34c7197e1f52007939fd95741079d"},{"authors":"Sergio Fierens","built_at":"2009-06-14T23:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":6095,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.8","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":"> 0.0.0","prerelease":false,"licenses":null,"requirements":null,"sha":"63fc9abf9302f3bba9084836cd92446fa07b2b862971b52c5ab2087090152f07","spec_sha":"26cd1480d729c6ac5732d01b102ef97806e590d32ba4aa2c1ea8513894a9d40c"},{"authors":"Sergio Fierens","built_at":"2009-04-28T23:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":5751,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.7","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"9c1a488849228725a6c45fb728c12a248af319eb3a0e8cfb156a5d55d26c1da9","spec_sha":"51167065310a0a94f1cc2d2af7449973db881e2dacf1ce5c3ec93cc018a0dc4b"},{"authors":"Sergio Fierens","built_at":"2009-04-08T23:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":5794,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.6.1","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"edc55f54cab775a3329a6d6a05ac09d2036b4caf6e873553956a201d3e36a5d2","spec_sha":"f7a88cb489f37dd4857d1b994cbb892dbcfe352ec6ab929556548210c428a048"},{"authors":"Sergio Fierens","built_at":"2009-04-07T23:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":5763,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.6","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":"> 0.0.0","prerelease":false,"licenses":null,"requirements":null,"sha":"b95f6498bafb4dc21eb4e616f118c1d8132570962191835fc79afb4690b192ae","spec_sha":"dfe34dd3e23e212b0f519a2d7ba08d49103735732d962c9d2a0530dbf006f24a"},{"authors":"Sergio Fierens","built_at":"2009-03-31T23:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":5728,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.5","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"922f977159ccc3a02176ba37b0bd563dc2c0559459a3078434dd41efdc6db21d","spec_sha":"41dfaee32d80c8d9be8fdffc58dd8a876f008e7bb2ffeea8f4c0fb67d1a46fdd"},{"authors":"Sergio Fierens","built_at":"2009-03-12T00:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":5717,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.4","summary":"Ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"1a6a2aa00b32f321d13de20148e99b46ab572fb575c76f5957db856bc21d1fb1","spec_sha":"adc235ad8996338df4fa45b038edef78ae7d198900095ff7b2819449480ca7b4"},{"authors":"Sergio Fierens","built_at":"2009-03-06T00:00:00.000Z","created_at":"2009-07-25T18:34:49.000Z","description":"","downloads_count":5751,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.3","summary":"ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, machine learning, and clustering.","platform":"ruby","rubygems_version":">= 0","ruby_version":null,"prerelease":false,"licenses":null,"requirements":null,"sha":"f471aa33a8ecba1e259626aa837fa88d6997f058e561c1a9702c4fcb6f478fc0","spec_sha":"32a78bb905a25e513a0ff2ea9f64a3ea3a7d901e3aac5c582f18c34127b3fee9"},{"authors":"Sergio Fierens","built_at":"2009-02-14T00:00:00.000Z","created_at":"2009-07-25T18:34:50.000Z","description":"","downloads_count":5780,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.2","summary":"ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, and machine learning.","platform":"ruby","rubygems_version":">= 0","ruby_version":"> 0.0.0","prerelease":false,"licenses":null,"requirements":null,"sha":"6c9dca3847cca72882f36cb4226bebc01a1dd3456e4f6be566d427deec1995e9","spec_sha":"683cfd301055dc993dba6a207853eccc88ec1ae477f38d6b4e18b365a75318b8"},{"authors":"Sergio Fierens","built_at":"2008-03-14T00:00:00.000Z","created_at":"2009-07-25T18:34:50.000Z","description":"","downloads_count":5705,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.1","summary":"ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, and machine learning.","platform":"ruby","rubygems_version":">= 0","ruby_version":"> 0.0.0","prerelease":false,"licenses":null,"requirements":null,"sha":"48aa8ddff8533ed2c38c976668358a7ec003c2770873666cc3ef928507ecdbd6","spec_sha":"3a521ed71892ea20e5311f0a4b7c631ec2222a9dc3c347e9061f30b2015b7faa"},{"authors":"Sergio Fierens","built_at":"2008-02-25T00:00:00.000Z","created_at":"2009-07-25T18:34:50.000Z","description":"","downloads_count":5923,"metadata":{"wiki_uri":"","homepage_uri":"http://www.ai4r.org","bug_tracker_uri":"","source_code_uri":"https://github.com/SergioFierens/ai4r","mailing_list_uri":"","documentation_uri":"http://ai4r.rubyforge.org/"},"number":"1.0","summary":"ruby implementations of algorithms covering several Artificial intelligence fields, including Genetic algorithms, Neural Networks, and machine learning.","platform":"ruby","rubygems_version":">= 0","ruby_version":"> 0.0.0","prerelease":false,"licenses":null,"requirements":null,"sha":"d89d18d353ee4875cb7601de7fe864186f149031b5168728ce9544c0845cba26","spec_sha":"2974cf4a9b4e1aa8a881f8695e825c0c17898f35f33d0f880c2135bed8e9b92e"}]