After running , I am not getting result in predictedData.csv. "sentiment" column is all set 0
"This module will be removed in 0.20.", DeprecationWarning)
Read train data
Init classifier
Read test data
Train classifier
/Users/vpati/Intuit_project/ml/naive-bayes/naivebayes/init.py:35: RuntimeWarning: divide by zero encountered in log
Total : 25000 articles
1 / (words_in_categories + number_of_words)
Number of words : 74704 words
Parse time : 36.77 seconds
Start classify data
/Users/vpati/Intuit_project/ml/naive-bayes/naivebayes/init.py:64: RuntimeWarning: invalid value encountered in multiply
probabilities += (ignored_words_number.T * self.min_category_prob)
Save predicted results
/Users/vpati/Intuit_project/ml/naive-bayes/examples/imdb_reviews/data/predictedData.csv
After running , I am not getting result in predictedData.csv. "sentiment" column is all set 0
"This module will be removed in 0.20.", DeprecationWarning)
Process finished with exit code 0