Air Quality Prediction Using Ensemble Machine Learning Models with Environmental and Meteorological Features

Air pollution, especially fine particulate matter (PM2.5), poses serious health and environmental threats globally. Traditional models for air quality prediction often fall short in capturing the complex, dynamic nature of pollution due to their linear assumptions and lack of contextual information such as meteorological or human-activity patterns. This research work proposes an ensemble machine learning framework that integrates both environmental pollutant data and temporal features derived from timestamps to enhance the accuracy, robustness, and interpretability of PM2.5 prediction. The dataset used includes hourly air quality measurements from Delhi, consisting of pollutant concentrations (CO, NO, NO₂, O₃, SO₂, PM₁₀, NH₃) and timestamps. Data preprocessing involves parsing timestamps into structured datetime features (hour, day, month, weekday), handling missing values using mean-based imputation, and applying standard normalization. Two ensemble learning models—Random Forest Regressor (RF) and Gradient Boosting Regressor (GBR)—are trained to predict PM2.5 concentrations. Model performance is evaluated using MAE, MSE, RMSE, and R². Additionally, feature importance analysis from the Gradient Boosting model is conducted to enhance explainability. The Random Forest model achieved superior predictive performance, with an MAE of 9.386, RMSE of 15.265, and an R² score of 0.995, outperforming Gradient Boosting which yielded an MAE of 11.794, RMSE of 17.585, and R² of 0.994. These results significantly improve upon earlier baseline performances (e.g., MAE = 22.4), highlighting the impact of integrating temporal features and comprehensive preprocessing. Feature importance analysis further identified key contributors to PM2.5 concentration, improving interpretability. The proposed framework demonstrates that combining environmental and temporal features with ensemble models significantly enhances air quality prediction. The Random Forest model, in particular, proves effective in modeling complex, non-linear pollution behavior. The addition of feature explainability supports data-driven decision-making for environmental policy and real-time public health interventions.

Authors

Institutions

Publication Details

Journal
Journal of Machine and Computing
Published
2025-10-18
DOI
https://doi.org/10.53759/7669/jmc202606011
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 Ensemble Machine Learning Models with Environmental and Meteorological Features

Muthukumar Subramanian, S. Vivekanandan, G Vasukidevi, Reny Jose et al.
Journal of Machine and Computing
Air Quality Monitoring and Forecasting
article

Air Quality Prediction Using Ensemble Machine Learning Models with Environmental and Meteorological Features

Muthukumar Subramanian, S. Vivekanandan, G Vasukidevi, Reny Jose, Ashwini Barbadekar, T. Karthikeyan
article en

Abstract

Air pollution, especially fine particulate matter (PM2.5), poses serious health and environmental threats globally. Traditional models for air quality prediction often fall short in capturing the complex, dynamic nature of pollution due to their linear assumptions and lack of contextual information such as meteorological or human-activity patterns. This research work proposes an ensemble machine learning framework that integrates both environmental pollutant data and temporal features derived from timestamps to enhance the accuracy, robustness, and interpretability of PM2.5 prediction. The dataset used includes hourly air quality measurements from Delhi, consisting of pollutant concentrations (CO, NO, NO₂, O₃, SO₂, PM₁₀, NH₃) and timestamps. Data preprocessing involves parsing timestamps into structured datetime features (hour, day, month, weekday), handling missing values using mean-based imputation, and applying standard normalization. Two ensemble learning models—Random Forest Regressor (RF) and Gradient Boosting Regressor (GBR)—are trained to predict PM2.5 concentrations. Model performance is evaluated using MAE, MSE, RMSE, and R². Additionally, feature importance analysis from the Gradient Boosting model is conducted to enhance explainability. The Random Forest model achieved superior predictive performance, with an MAE of 9.386, RMSE of 15.265, and an R² score of 0.995, outperforming Gradient Boosting which yielded an MAE of 11.794, RMSE of 17.585, and R² of 0.994. These results significantly improve upon earlier baseline performances (e.g., MAE = 22.4), highlighting the impact of integrating temporal features and comprehensive preprocessing. Feature importance analysis further identified key contributors to PM2.5 concentration, improving interpretability. The proposed framework demonstrates that combining environmental and temporal features with ensemble models significantly enhances air quality prediction. The Random Forest model, in particular, proves effective in modeling complex, non-linear pollution behavior. The addition of feature explainability supports data-driven decision-making for environmental policy and real-time public health interventions.

Journal of Machine and Computing
Dhanalakshmi Srinivasan Group of Institutions (IN)
Openalex Percentile: Top 73%
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.