Tutorvo

Precision, Recall & F1: Moving the Threshold on the Log-Odds

Lesson 6 of 814 minLab

This lesson is part of the course

In this lesson

You classify 16 messages at two log-odds thresholds, count TP, FP and FN for each, and compare precision, recall and F1 to choose a safer spam threshold.

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