~/talk

Beyond scraping: how to use machine learning when you're not sure where to start

Talkat PyCon 2018 · on Friday, 2018-05-11· [python, machine-learning, web-platform]
links:none on file
slides:none on file

Builds a system that extracts the publication date of almost any news article by framing it as supervised classification of DOM elements, using crowdsourced labels (three annotators, drop disagreements), feature engineering from heuristics (contains “published”, author proximity, meta and class attributes), and practical production choices (NLTK + LIBSVM, avoid headless rendering for speed). Results land around ~90% accuracy across ~550 publications, with a big boost from a simple URL-date heuristic.

AI-written summary · about

  1. 0:00Intro
  2. 0:25Beyond scraping
  3. 1:28Extracting date of a second page: also easy
  4. 2:19Could get people to do it
  5. 3:10Get a programmer to do it
  6. 4:14The big guns: get machine learning to do it
  7. 5:00But: machine learning is a PITA
  8. 6:59How do humans recognize publication date?
  9. 11:59The hardest part of machine learning...
  10. 12:32Enter this research paper
  11. 12:57supervised learning/ classification
  12. 13:55Training a model
  13. 14:50Getting data
  14. 17:29get all DOM elements w dates
  15. 18:01Feature selection
  16. 18:27Training the model
  17. 19:01tutorial
  18. 20:05extracting date from DOM element as a string
  19. 21:56Differences between prod and research Major ne performance issues in production Did not implement headless browser features, too slow for production paring
  20. 22:21Lessons learned
  21. 23:34Machine learning is about thinking statistically...
~/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.