louismullie / treat

Natural language processing framework for Ruby.
Other
1.37k stars 128 forks source link

confused on how to use MLP #96

Closed mepatterson closed 9 years ago

mepatterson commented 9 years ago

trying to use the multilayer perceptron classifier...

pred = s.classify(:mlp, training: train_set)

but I get this:

NoMethodError: undefined method `classify' for Treat::Workers::Learners::Classifiers::MLP:Class
from /Users/someguy/.rvm/gems/ruby-2.1.2@myapp/gems/treat-2.1.0/lib/treat/core/dsl.rb:17:in `method_missing'

clearly I'm missing something on how to use this, right?