Commits

Anonymous committed 9a9690e

debug print in tf

Comments (0)

Files changed (1)

src/documentStatistics/tf.hxx

                 ++result(word_id, doc_id);
             }
 
+            std::cout << "document size: " << document.size() << std::endl;
+            std::cout << "original vec:\n" << result.col(doc_id) << std::endl;
             result.col(doc_id) /= (float)document.size();
+            std::cout << "divided vec:\n" << result.col(doc_id) << std::endl;
+
             ++doc_id;
         }