Chapter 3. Your Friendly Neighborhood Air Quality Forecasting Service
The first ML project we will build is an air quality forecasting service for a neighborhood you care about. We will follow the MVPS process from Chapter 2—divide et impera (divide and conquer). Your work will be a public service built to survive, so please put some time and care into it and your community will love you for it. I have a personal interest in this project as I have two boys with cystic fibrosis, a genetic disorder that primarily affects the lungs. They were born on the same day, two years apart, and diagnosed the same day. Anyway, I think I speak for the whole cystic fibrosis community in saying this would be a fantastic service for us and many others!1
The prediction problem our AI system will solve is to predict the air quality for a public air quality sensor close to your home or work, or wherever. A worldwide community of Internet of Things (IoT) hobbyists place sensors in their gardens and balconies and publish air quality measurements on the internet. Where I live in Stockholm, there are over 30 public sensors, and in my home city of Dublin, there are over 40. There is a world air quality index website where you can find a sensor on the map to build your AI system on. Pick one that both (1) has historical data—we will train an ML model on the historical data, so if you have a few years of data, that is great—and (2) produces reliable measurements (some sensors are turned off for periods of ...