cardmagic / classifier

A general classifier module to allow Bayesian and LSI classifications.
Other
661 stars 122 forks source link

Error at classification method #20

Closed ghost closed 3 months ago

ghost commented 10 years ago

I am using sourceclassifier gem, but whenever i want to identify a piece of code an error pops out. From the stacktrace I understood that this happens in classifier 'classification' method.

Here is the full stacktrace:

from /Users/olegkiviljov/.rvm/gems/ruby-2.0.0-p247/gems/classifier-1.3.4/lib/classifier/bayes.rb:88:in classify' from /Users/olegkiviljov/.rvm/gems/ruby-2.0.0-p247/gems/chrislo-sourceclassifier-0.2.3/lib/sourceclassifier.rb:19:inidentify' from experiment.rb:21:in `

'

I posted the same issue in sourceclassifier issues but with no avail. If someone could atleast tell me if it is a problem with sourceclassifier or with classifier, this would give me enough information to try and fix it myself.

cardmagic commented 3 months ago

sorry, I can't help you with that library