Advertisement
Guest User

Untitled

a guest
May 24th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Sentiment Analysis using Naive Bayes
  2. ====================================
  3. * Naive Bayes
  4. * Add-1 smoothing
  5. * 10-fold cross validation
  6. * regular expression detecting negation words
  7.  
  8. Besides the regular method, the code also realized:
  9. * Boolean Naive Bayes
  10. * Naive Bayes with stop word
  11. * Naive Bayes with negation features (not, never, n't)
  12.  
  13. Accuracy:
  14. * Regualr NB: 81.65%
  15. * Boolean NB: 73.85%
  16. * NB with stop word filterd: 81.10%
  17. * NB with negation features: 81.80%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement