~/talk

Is that spam in my ham? A novice's inquiry into classification.

Talkat PyOhio 2015 · 2015-08-01..08-02· [python, machine-learning]
slides:none on file

Defines spam detection as a binary classification, trains a Naive Bayes model on 2,500 labeled emails (1,721 ham, 779 spam), tokenizes bodies into a bag-of-words, filters stop words with NLTK and parses HTML with lxml and the email package in Python 2.7.9, handles unseen words with Laplace smoothing, avoids floating-point underflow with Decimal or log-probabilities, and reports about 89% accuracy on held-out data with notes on false positives and simple optimizations.

AI-written summary · about

  1. 0:00Start
  2. 2:58How I'll approach today's chat.
  3. 4:04Machine Learning in a nutshell.
  4. 5:26Experience.
  5. 6:46Classification & Machine Learning
  6. 7:08Spam Detection
  7. 8:12Naive Bayes in stats theory.
  8. 10:04Independent events.
  9. 13:09Picks category with MAP.
  10. 13:51Why Naive Bayes?
  11. 14:22Classification: Spam Detectio
  12. 15:34Example - Training the spam
  13. 21:31False Positives
  14. 22:44Other drawbacks with Naive E
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.