module NBayes::Result

Public Instance Methods

max_class() click to toggle source

Return the key having the largest value

# File lib/nbayes.rb, line 352
def max_class
  keys.max{ |a,b| self[a] <=> self[b] }
end