Small fix on naive_bayes classifier. When we changed the each_with_index for 0.upto, the method was returning a fixnum instead of a enum