Live Coding A Machine Learning Model from Scratch
summary
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
chapters (16)
- 0:00Introduction
- 4:32Getting Data
- 11:29Demo
- 11:59Collab Setup
- 14:05Encoding Data
- 15:14Train Test Split
- 16:16Tokenizer
- 18:56Create Model
- 22:41Train
- 23:38Evaluation
- 25:47Custom Code
- 27:00Deploy
- 30:14Predict
- 32:31Summary Plot
- 34:05Pandas Question
- 35:45Live Demo
related talks
38mReal Life Customer Stories with AI
35mIt's Alive! Machine Learning Writes Your Code!
30mKick-Start your Understanding of Machine Learning with Python
37mMachine Learning on Source Code
43mGetting started with AI for free
01h 38mNavigating the World of NLP and Text Analytics
42mDevOps & Microservices: “Delivering Machine Learning models early and often.”
02h 03mFull stack AI design and development
