Machine learning approaches for predicting air pollution levels: a transparent, time-aware pipeline for daily AQI in Indian cities
摘要
Reliable daily Air Quality Index (AQI) prediction can support timely public-health advisories in Indian cities. However, AQI forecasting studies can report over-optimistic performance if time ordering is not strictly respected during feature construction and evaluation.
MethodologyWe propose a transparent, time-aware machine learning pipeline for daily AQI prediction using publicly available CPCB measurements (Rao dataset) for multiple Indian cities. The workflow includes consistent data typing, removal of duplicate city-date records, within-city imputation for missing entries, and engineered predictors including calendar variables, pollutant interaction features (
Evaluation is performed on a pooled multi-city panel in which each row corresponds to a City
Random Forest achieved the best holdout performance with MAE = 12.7742, RMSE = 24.8427, R2 = 0.9320, and MAPE = 11.3123%, with gradient boosting performing comparably.
ConclusionsLeakage-safe time-series features combined with tree-based models provide a reproducible baseline for daily AQI prediction across Indian cities, while remaining peak-error cases motivate future extensions with additional exogenous drivers.