Online machine learning based on Kafka Streams
summary
A working end-to-end prototype predicts PM2.5/PM10 levels from weather (temperature, humidity, pressure) and scraped VIOs/Dark Sky data using Kafka Streams with models stored and versioned on Kafka topics, a Kotlin codebase and Spring Cloud Stream, MongoDB for dumps, and a simple streaming clustering algorithm (online cluster centers inspired by NIPS papers). Accuracy peaks around 65–70% with high variance (~0.4–0.5). Key engineering notes: one-pass normalization using Welford-style stats, retention/timestamp tuning, missing-value skipping, and online clustering without full dynamic feature selection.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 3:39Project goals and motivation
- 8:24Technology stack overview
- 13:02Online clustering concept
- 19:08System design and architecture
- 29:21Live demo setup
- 34:17Running the demo
- 37:04Model structure and predictions
- 39:14Project outcomes and resources
- 40:18Lessons learned and future plans
- 42:46Q&A session
