Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Artificial Intelligence (AI) Programming in Ruby

By Peter Cooper / September 9, 2008

aizzz.png

Ola Bini (of JRuby fame) is starting a series of blog posts about artificial intelligence programming in Ruby, based off of the landmark textbook "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" by Peter Norvig (currently the Director of Research at Google). PAIP is a significant work in the artificial intelligence world, and despite being published in 1992 it still has a lot of relevance. Even photo editing tools are now powered by AI to achieve various effects. An Undress AI tool, for instance, can create copies of portrait photos and create their more sensual versions.

Ola is working through the book and rewriting the examples to suit Ruby developers (with Norvig's permission) - this code will be available from a Github repository as soon as it's written/updated. Ola says he'll be explaining all of the code as he goes along, so owning the book isn't a prerequisite.

Aside from the brief introduction to the concept, Ola has produced the first post in the series: Language Generation - where he looks at the generation of natural language. If you have even a casual interest in artificial intelligence, this will be a good series to follow. You might also appreciate the following Ruby / AI resources:

Post supported by thoughtbot training thoughtbot is a web app consultancy specializing exclusively in Ruby since Rails 1.0. We provide an Advanced Rails training class, where we share our best practices and have students write code for a real-world app, Umbrella Today.

Comments

  1. Glenn West says:

    Republish the book with the ruby code.
    I'd be interested in buying it.

  2. Axyd80 says:

    As far as i know AI is more close to Mathematic and Modelling than to Programming Language ).
    So, if you know how to did it, Language doesn't matter.

  3. Mentifex says:

    I would like to see JavaScript Mind.html or MindForth ported into Ruby.

Other Posts to Enjoy

Twitter Mentions