Air quality index prediction using machine learning regression models: A comparative analysis
Fiaz Majeed,
Sana Saleha,
Laraib Abbas,
Syed Ali Ghalib,
Muhammad Hamid,
Muhammad Saleem,
Mohammed Aman and
Arshad Ahmad
PLOS ONE, 2026, vol. 21, issue 7, 1-20
Abstract:
Air plays a vital role in human life, and poor air quality can lead to respiratory infections. Given the significant impact of air quality on people’s health, monitoring and assessing air quality is crucial. With advancements in machine learning (ML) and artificial intelligence (AI), we now have extensive tools to measure the Air Quality Index (AQI). Air quality is influenced by various pollutants, including carbon monoxide (CO), nitrogen dioxide (NO2), ozone (O3), and sulfur dioxide (SO2), which are prevalent in highly polluted areas and contribute to a wide range of illnesses. Particulate matter, such as PM2.5 (particles with an aerodynamic diameter of less than 2.5 µm) and PM10, poses additional health risks. To address these concerns, this study focuses on predicting AQI values for major cities in Pakistan, specifically Karachi and Peshawar, using four prominent ML algorithms: Random Forest (RF), Gradient Boosting (GB), Linear Regression (LR), and Ridge Regression (RR). The results indicate that the models effectively predicted AQI using evaluation metrics such as Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and the Coefficient of Determination (R2). This research’s novelty lies in using the latest AQI datasets for Karachi and Peshawar and applying standard scaling for AQI normalization. Additionally, the study compares evaluation metric results across different cities, highlighting the importance of using standard scalers to achieve optimal model performance. This research underscores the value of advanced ML techniques for accurate AQI prediction and analysis.
Date: 2026
References: Add references at CitEc
Citations:
Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0349858 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 49858&type=printable (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0349858
DOI: 10.1371/journal.pone.0349858
Access Statistics for this article
More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().