Tutorvo

Sentiment: a Word Lexicon vs Naive Bayes

Lesson 7 of 815 minLab

This lesson is part of the course

In this lesson

You score 12 product reviews with a hand-made sentiment lexicon and with Naive Bayes log-ratios, and compare the accuracy of both against the true labels.

Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.

Lessons in this course

  1. Priors from Class Counts: How Common Is Spam?Lab11 min Locked
  2. Word Counts per Class with SUMIFSLab12 min Locked
  3. Laplace Smoothing & Word LikelihoodsLab13 min Locked
  4. Log-Probabilities & Scoring a Message with SUMPRODUCTLab14 min Locked
  5. Classify a Batch & Build the Confusion MatrixLab15 min Locked
  6. Precision, Recall & F1: Moving the Threshold on the Log-OddsLab14 min Locked
  7. Sentiment: a Word Lexicon vs Naive BayesLab15 min Locked
  8. Most Informative Words: Log-Likelihood Ratios & a Ranking ChartLab15 min Locked