~/talk

Automatic Tagging of Short Texts with scikit-learn and NLTK

TalkinDutchat PyData London 2018 · 2018-04-26..04-29· [machine-learning]
links:none on file
slides:none on file

A practical walkthrough of building an automatic tagger for short texts (Slack messages, email subjects, tweets) using scikit-learn and NLTK. It explains the concrete pipeline: Count and TF‑IDF vectorizers, tokenization, n‑grams, stopword choices, sentence splitting, one‑vs‑rest for multi‑label classification and classifier ensembles, plus parameter search to improve robustness. The talk also highlights challenges—severe class imbalance and few samples per tag—and reports realistic results (about 85% on a held‑out test in one demo).

AI-written summary · about

  1. 0:00Introduction
  2. 4:50Text classification pipeline
  3. 17:49Linear SVM classifier
  4. 23:10Preprocessing
  5. 33:14Optimizing parameters
  6. 41:01Multi-label classification
  7. 46:15Sentence tagging
  8. 53:22Ensemble methods
  9. 59:34Q&A
~/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.