~/talk

Live Coding A Machine Learning Model from Scratch

slides:none on file

Builds a multi-label text classifier for five Stack Overflow tags using TensorFlow tf.keras and a 400-word bag of words vocabulary extracted from BigQuery Stack Overflow data (uses ~150k train / 37k test rows). Code uses Pandas, scikit‑learn and Colab, replaces explicit tag names with “avocado” during preprocessing, saves tokenizer with pickle and model as H5, reaches about 96% accuracy on held-out test data, explains predictions with SHAP, and deploys inference with Cloud AI Platform + Cloud Functions (Chrome extension demo falls back to a video).

AI-written summary · about

  1. 0:00Introduction
  2. 4:32Getting Data
  3. 11:29Demo
  4. 11:59Collab Setup
  5. 14:05Encoding Data
  6. 15:14Train Test Split
  7. 16:16Tokenizer
  8. 18:56Create Model
  9. 22:41Train
  10. 23:38Evaluation
  11. 25:47Custom Code
  12. 27:00Deploy
  13. 30:14Predict
  14. 32:31Summary Plot
  15. 34:05Pandas Question
  16. 35:45Live Demo
~/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.