Ruby and AI
Here are some notes about doing AI type work using the Ruby language.
- Naive Bayesian https://stackoverflow.com/questions/6953217/naive-bayesian-classifier-multiple-decisions
- example code https://github.com/jekyll/classifier-reborn/blob/master/lib/classifier-reborn/bayes.rb
- ruby based experiments https://github.com/MadBomber/experiments/blob/master/classifiers/train_bayes_classifier.rb
An example
I’ve begun working on a general example of classifying entries in a BibTex database. It uses BibTeX-Ruby to parse the file and Classifier Reborn to do the classifying.