Air quality index prediction using machine learning regression models: A comparative analysis
Clinical Snapshot
PICO Framework
| P — Population | Major urban centres in Pakistan (Karachi and Peshawar) with available air quality monitoring data |
| I — Intervention | Machine learning regression models (Random Forest, Gradient Boosting, Linear Regression, Ridge Regression) applied to AQI prediction with standard scaling normalisation |
| C — Comparator | Cross-comparison of four ML algorithms against each other across two cities; no external benchmark or clinical reference standard |
| O — Outcomes | Predictive accuracy of AQI values measured by Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Coefficient of Determination (R²) |
Bottom Line
This comparative ML study attempts to benchmark four regression algorithms (Random Forest, Gradient Boosting, Linear Regression, Ridge Regression) for AQI prediction in two Pakistani cities. While the research question is relevant to environmental public health, the study as reported in its abstract has critical methodological deficiencies that preclude meaningful clinical or policy application. No numerical performance metrics are provided, no confidence intervals are reported, confounders including meteorological variables are unaddressed, and no independent external validation is described. The dataset's provenance, size, and temporal scope are undisclosed. The novelty claim — use of recent datasets and standard scaling — represents incremental rather than substantive methodological advancement. For Australian clinicians and public health practitioners, this study offers no actionable evidence. Environmental health decision-making should continue to rely on validated, regulatory-grade AQI monitoring systems. This paper may serve as a preliminary signal for researchers in computational environmental health but requires substantial methodological strengthening before its findings can inform practice.
Key Findings
P Value: Not reported
Effect Size: Not reported in abstract — specific MAE, RMSE, and R² values for each model and city are absent
Primary Outcome: AQI prediction accuracy for Karachi and Peshawar using four ML regression models
Nnt Or Sensitivity: Not applicable to this study type; no sensitivity, specificity, or equivalent diagnostic accuracy metrics reported; no NNT calculable
Confidence Interval: Not reported
Clinical Application
Feasibility of deployment is not assessed. Real-time AQI prediction would require continuous sensor networks, data pipelines, and model maintenance infrastructure — none of which are discussed. The models described are static and their performance under prospective real-world conditions is unknown. Direct applicability to Australian practice is minimal. Australia operates under the National Environment Protection (Ambient Air Quality) Measure (NEPM AAQ), administered by state EPAs, with AQI monitoring conducted through established ground-station networks (e.g., NSW EPA AirWatch, EPA Victoria). Australian cities have substantially different pollutant profiles, lower baseline AQI levels, and different dominant pollution sources (bushfire smoke, traffic, industrial) compared to Karachi and Peshawar. The RACGP does not currently issue guidelines on ML-based AQI prediction tools. The TGA does not regulate environmental monitoring algorithms. PBS implications are not relevant. Clinicians advising patients with respiratory or cardiovascular conditions on air quality risk should continue to reference state EPA AQI portals rather than models derived from this study. Potentially applicable to environmental health monitoring agencies and public health authorities in high-pollution urban settings, particularly in South and Southeast Asia. Not directly applicable to individual patient clinical decision-making.
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.
References
- 1.Majeed, F., Saleha, S., Abbas, L., Ghalib, S. A., Hamid, M., Saleem, M., Aman, M., & Ahmad, A. (2026). Air quality index prediction using machine learning regression models: A comparative analysis. PLoS ONE. https://doi.org/10.1371/journal.pone.0349858
Related Research
Environmental science & technology
Bridging the Gap between External and Internal Exposure: Challenges and a Machine Learning Approach Validated Using Benzene Ring-Containing Pollutants
22 July 2026
BMJ open
Impact of climatic variables on postoperative outcomes in various surgical disciplines: a systematic review.
5 July 2026
Journal of hazardous materials
Biomarker-anchored screening of dietary microplastics via a gut microbiota-informed machine learning model
15 June 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service