Air Quality Prediction Using Machine Learning and Statistical Analysis: An Explainable AI Perspective

ABSTRACT Air pollution poses a significant threat to both environmental and public health, underscoring the need for automated and accurate air quality monitoring systems. This study utilizes five Machine Learning (ML) algorithms—Support Vector Machine (SVM), K‐Nearest Neighbors (KNN), Gaussian Naïve Bayes (GNB), Random Forest (RF), and Extreme Gradient Boosting (XGBoost)—to classify Air Quality Index (AQI) levels. The analysis is based on a comprehensive dataset comprising 29,531 records and 16 pollutant‐related features, including City, Date, PM2.5, PM10, NO, NO 2 , NOx, NH 3 , CO, SO 2 , O 3 , Benzene, Toluene, Xylene, AQI, and AQI_Bucket. Among the models, RF demonstrated superior performance, achieving 99% accuracy, precision, recall, and F1‐score, with low inference time (42 s) and minimal memory usage (17 MB). To enhance both accuracy and interpretability, two feature selection approaches were employed. A T‐test identified statistically significant differences in pollutant concentrations between high and low AQI groups. In parallel, Explainable AI (XAI) methods—Local Interpretable Model‐Agnostic Explanations (LIME) and Shapley Additive Explanations (SHAP)—were applied to interpret the models’ decision‐making processes. These techniques consistently highlighted PM2.5, PM10, NO 2 , and NO x as the most critical features influencing AQI predictions. Model robustness was validated using 10‐fold cross‐validation, while a paired t ‐test confirmed the statistical significance of RF's superior performance. The integrated approach not only achieves high classification accuracy but also provides meaningful insights into the factors driving air pollution, thus supporting more transparent and reliable air quality assessment systems.

Authors

Institutions

Publication Details

Journal
Environmental Quality Management
Published
2026-04-22
DOI
https://doi.org/10.1002/tqem.70355
Primary Topic
Air Quality Monitoring and Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Air Quality Prediction Using Machine Learning and Statistical Analysis: An Explainable AI Perspective

Farida Siddiqi Prity, Mirza Raquib, MD Jiabul Hoque, Iftikhar Arefin
Environmental Quality Management
Air Quality Monitoring and Forecasting
article

Air Quality Prediction Using Machine Learning and Statistical Analysis: An Explainable AI Perspective

Farida Siddiqi Prity, Mirza Raquib, MD Jiabul Hoque, Iftikhar Arefin
article en

Abstract

ABSTRACT Air pollution poses a significant threat to both environmental and public health, underscoring the need for automated and accurate air quality monitoring systems. This study utilizes five Machine Learning (ML) algorithms—Support Vector Machine (SVM), K‐Nearest Neighbors (KNN), Gaussian Naïve Bayes (GNB), Random Forest (RF), and Extreme Gradient Boosting (XGBoost)—to classify Air Quality Index (AQI) levels. The analysis is based on a comprehensive dataset comprising 29,531 records and 16 pollutant‐related features, including City, Date, PM2.5, PM10, NO, NO 2 , NOx, NH 3 , CO, SO 2 , O 3 , Benzene, Toluene, Xylene, AQI, and AQI_Bucket. Among the models, RF demonstrated superior performance, achieving 99% accuracy, precision, recall, and F1‐score, with low inference time (42 s) and minimal memory usage (17 MB). To enhance both accuracy and interpretability, two feature selection approaches were employed. A T‐test identified statistically significant differences in pollutant concentrations between high and low AQI groups. In parallel, Explainable AI (XAI) methods—Local Interpretable Model‐Agnostic Explanations (LIME) and Shapley Additive Explanations (SHAP)—were applied to interpret the models’ decision‐making processes. These techniques consistently highlighted PM2.5, PM10, NO 2 , and NO x as the most critical features influencing AQI predictions. Model robustness was validated using 10‐fold cross‐validation, while a paired t ‐test confirmed the statistical significance of RF's superior performance. The integrated approach not only achieves high classification accuracy but also provides meaningful insights into the factors driving air pollution, thus supporting more transparent and reliable air quality assessment systems.

Environmental Quality ManagementVol. 35(4)
International Islamic University Chittagong (BD), Shanto-Mariam University of Creative Technology (BD), Kona Medical (United States) (US)
Sustainable cities and communities
Openalex Percentile: Top 7%
Air Quality Monitoring and Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Air Quality Prediction Using Machine Learning and Statistical Analysis: An Explainable AI Perspective — Farida Siddiqi Prity, Mirza Raquib, et al. · Environmental Quality Management (2026) | TGRS Research Map | TGRS