We are trying to do naive bayes classification in Ruby.<p>Currently we are using http://ai4r.rubyforge.org/<p>We couldn't get it working for float values and have about 20% points lower accuracy with string values. With float/integers we get a [] no implicit conversion from nil to integer. We convert floats with to_s.<p>Is there a way to get float values working? If not what are alternative gems to ai4r for ruby or alternative algorithms to naive bayes?