Thumbs up? Sentiment Classification using Machine Learning Techniques

Pang et al., 2002, Thumbs up? Sentiment Classification using Machine Learning Techniques (Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing (EMNLP 2002))

Subscriber deck — free during early access

2 cards in “5.1 Naive Bayes” · whole deck

5.1 Naive Bayes

  1. Give the Naive Bayes classifier used by Pang et al.
    \(P_{\text{NB}}(c \mid d) = \frac{P(c) \prod_{i=1}^{m} P(f_i \mid c)^{n_i(d)}}{P(d)}\), assuming features are conditionally independent given the class; \(P(c)\) and \(P(f_i \mid c)\) are relative frequencies with add-one smoothing, and \(P(d)\) is ignored when choosing \(\arg\max_c\).
  2. Why can Naive Bayes work well even though its independence assumption is false?
    Empirically it does well in text categorization, and Domingos and Pazzani (1997) showed it is optimal for some problem classes with highly dependent features; the classification can be right even when the probabilities are wrong.

Source

  • Bo Pang, Lillian Lee and Shivakumar Vaithyanathan. 2002. Thumbs up? Sentiment Classification using Machine Learning Techniques. In Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing (EMNLP 2002), pp. 79–86. https://aclanthology.org/W02-1011/