When I train the data and classify items, they work. When I store the classification(to file) and load like this:
storage = Ankusa::FileSystemStorage.new 'c:\type_class_classification'
c = Ankusa::NaiveBayesClassifier.new storage
and try to classify something, it fails. Am I loading it wrong?
I can see all my classnames are there:
puts c.classnames
When I train the data and classify items, they work. When I store the classification(to file) and load like this:
storage = Ankusa::FileSystemStorage.new 'c:\type_class_classification'
c = Ankusa::NaiveBayesClassifier.new storage
and try to classify something, it fails. Am I loading it wrong?
I can see all my classnames are there:
puts c.classnames