Using Machine Learning to Predict Whether Tehran’s Air Quality Index Will Exceed 100 the Next Day

Using Machine Learning to Predict Whether Tehran’s Air Quality Index Will Exceed 100 the Next Day

AmirNaser khaleghi1

1) Department of Computer Engineering, Has.C, Islamic Azad University, Hashtgerd, Iran

IOI Code : ABFG-ACBZAK
Publication : 12th.international Congress on Civil Engineering, Architecture, Art and Urban Development(12icsau.ir)
Abstract :
    When air pollution persists for several days, repeating yesterday’s air quality classification correctly identifies many days within an episode. The first day above the threshold is a harder test of an early warning. This study compared four methods for predicting whether the next day’s mean US Air Quality Index (AQI) in Tehran would exceed 100. Logistic regression and random forest used recent pollutant values and time of year. Two baselines repeated the classification from the previous day or the same day of the previous week. The reference series came from the Copernicus atmospheric model archive. In the final 365-day test period, the daily mean index exceeded 100 on 62 days. Random forest detected 52 of those days, issued 16 false alerts and achieved a macro-F1 score of 0.878. Logistic regression detected 58 days and issued 40 false alerts. Both models detected nine of the 17 episode onsets. Logistic regression alone detected four more, and both missed the remaining four. Random forest also outperformed previous-day persistence in three of four rolling test windows. The choice between the two models therefore depends on how much additional onset detection is worth relative to the cost of false alerts. Operational use in Tehran would require independent evaluation against station measurements and verification of when the input data become available.

Keywords : air quality tehran day ahead forecasting pollution persistence random forest