Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `classify' for Treat::Workers::Learners::Classifiers::ID3:Class #109

Open
tryceattack opened this issue May 20, 2015 · 0 comments

Comments

@tryceattack
Copy link

I'm just running the code in the quick tour at the bottom for classification.

The object clearly contains the method.

d2.sentences[0].methods
=> [:time, :name_tag, :tag, :category, :tokenize, :parse, :type, :type=, :<<, :method_missing, :invalid_call, :language, :similarity, :distance, :unserialize, :serialize, :visualize, :classify, ...

so yeah...

Edit 1: In addition, the first time i run the code, i get

LoadError: cannot load such file -- graphr

its only after subsequent times that i try to run the classification code that i get the first error.

Edit 2: I tried using the most up to date commit instead of the rubygem, and i get other kinds of errors when running the whole code, so that didn't help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant