Created
February 22, 2017 09:41
-
-
Save mureithi254/8e96de2b52c5fd65fdda25a0e8cea5c7 to your computer and use it in GitHub Desktop.
classifier reborn cannot handle this file properly and needs a vector
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input: '' is entirely stopwords or words with 2 or fewer characters. Classifier-Reborn cannot handle this document properly. | |
/home/anonymous/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/matrix.rb:2088:in `normalize': Zero vectors can not be normalized (Vector::ZeroVectorError) | |
from /home/anonymous/.rvm/gems/ruby-2.3.3/gems/classifier-reborn-2.1.0/lib/classifier-reborn/lsi/content_node.rb:95:in `raw_vector_with' | |
from /home/anonymous/.rvm/gems/ruby-2.3.3/gems/classifier-reborn-2.1.0/lib/classifier-reborn/lsi.rb:326:in `node_for_content' | |
from /home/anonymous/.rvm/gems/ruby-2.3.3/gems/classifier-reborn-2.1.0/lib/classifier-reborn/lsi.rb:186:in `proximity_array_for_content' | |
from /home/anonymous/.rvm/gems/ruby-2.3.3/gems/classifier-reborn-2.1.0/lib/classifier-reborn/lsi.rb:281:in `scored_categories' | |
from /home/anonymous/.rvm/gems/ruby-2.3.3/gems/classifier-reborn-2.1.0/lib/classifier-reborn/lsi.rb:267:in `classify' | |
from Night-crawler.rb:42:in `block in comparative' | |
from Night-crawler.rb:41:in `each' | |
from Night-crawler.rb:41:in `comparative' | |
from Night-crawler.rb:53:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist is attached to the NIght-crawler.o repository.