私が取り組んでいるルビープロジェクトで Ankusa (https://github.com/livingsocial/ankusa) gem を使用しようとしています。
ankusa gem をインストールして以下のコードを実行していますが、まだエラーが発生します: uninitialized constant Ankusa::MemoryStorage (NameError)
require 'rubygems'
require 'ankusa'
require 'ankusa/hbase_storage'
storage = Ankusa::MemoryStorage.new
c = Ankusa::NaiveBayesClassifier.new storage
c.train :spam, "This is some spammy text"
c.train :good, "This is not the bad stuff"
puts c.classify "This is some spammy text"
puts c.classifications "This is some spammy text"
puts c.log_likelihoods "This is some spammy text"
puts c.classnames
storage.close
どんな助けでも大歓迎です。