Abstract
Sustainable development globally is highly impacted by increased air pollution which is attributed to increasing population, commercial and industrial activities. Combustion gas emissions attributed to transportation, social and other activities are a major cause of air pollution. To mitigate adverse impact of air pollution on human health, forecasting PM10 and PM2.5 is a necessity. This study employs Fourier series decomposition approach in combination with support vector machine and long short-term memory machine learning algorithms to predict PM10 and PM2.5. Hourly data was obtained from December 2020 to November 2021 for Mohammedia city in Morocco. The model’s performance was evaluated using RMSE, MAE and R2. LSTMF and SVMF models in combination with Fourier series decomposition performed better than the SMV and LSTM standalone models. Hourly prediction of PM10, LSTMF model performed better than other models during Autumn season with closely followed by the model in winter seasons. For PM2.5 prediction the model during autumn season was observed to be outperforming other models in all other seasons. These results were based on hourly prediction based on season. Then this study also, forecasted seven ahead for PM10 and PM2.5. LSTMF model performed best with R2 value of 0.95 (winter), 0.93 (spring), 0.85 (summer) and 0.96 (autumn) for PM2.5. For PM10 the LSTMF performance was also good with R2 value of 0.84 (winter), 0.92 (spring), 0.84 (summer), and 0.92 (autumn). This study highlights how hourly prediction can be achieved to identify in advance the patterns and trends for particulate matter concentration. This will aid the decision and policy makers to adopt mitigation measures and policy in advance to address air pollution issues during peak hours.
Similar content being viewed by others
Data availability
The datasets analysed during the current study were obtained from the “Direction de la Météorologie Nationale” (Morocco) and are not publicly available due to data sharing restrictions.However, they are available from the corresponding author (Bennis Mohamed) upon reasonable request.
References
Anggraini, T. S., Irie, H., Sakti, A. D. & Wikantika, K. Global air quality index prediction using integrated Spatial observation data and geographics machine learning. Sci. Remote Sens. 11, 100197 (2025).
Ravindiran, G. et al. Ensemble stacking of machine learning models for air quality prediction for Hyderabad City in India. iScience 28, 111894 (2025).
Wei, M. & Du, X. Machine learning with applications apply a deep learning hybrid model optimized by an improved chimp optimization algorithm in PM 2. 5 prediction. Mach. Learn. Appl. 19, 100624 (2025).
Kim, B. Y., Lim, Y. K. & Cha, J. W. Short-term prediction of particulate matter (PM10 and PM2.5) in Seoul, South Korea using tree-based machine learning algorithms. Atmos. Pollut Res. 13, 101547 (2022).
Srijiranon, K. Applied sciences Neuro-Fuzzy transformation with minimize entropy principle to create new features for particulate matter prediction. Appl Sci11, 16(2021).
Deabji, N. et al. A twin site study of size-resolved composition, source apportionment and health impacts of aerosol particles in Morocco. Atmos. Environ. 355, 121273 (2025).
Bouma, F. et al. Comparison of air pollution mortality effect estimates using different long-term exposure assessment modelling methods. Environ. Res. 279, 121832 (2025).
Saidi, L., Valari, M. & Ouarzazi, J. Air quality modeling in the City of Marrakech, Morocco using a local anthropogenic emission inventory. Atmos. Environ. 293, 119445 (2023).
Oufdou, H., Bellanger, L., Bergam, A. & Khomsi, K. Forecasting daily of surface Ozone concentration in the grand Casablanca region using parametric and nonparametric statistical models. Atmosphere (Basel) 12, 19 (2021).
Sekmoudi, I., Khomsi, K. & Faieq, S. Covid- 19 lockdown improves air quality in Morocco. (2020).
Ajdour, A. et al. Towards air quality modeling in Agadir City (Morocco). Mater. Today Proc. 24, 17–23 (2020).
Li, Y. & Li, R. A hybrid model for daily air quality index prediction and its performance in the face of impact effect of COVID-19 lockdown. Process. Saf. Environ. Prot. 176, 673–684 (2023).
Zeng, T. et al. A hybrid optimization prediction model for PM2.5 based on VMD and deep learning. Atmos. Pollut Res. 15, 102152 (2024).
Ameri, R. et al. Forecasting PM 2.5 concentration based on integrating of CEEMDAN decomposition method with SVM and LSTM. Ecotoxicol. Environ. Saf. 266, 115572 (2023).
Masood, A. & Ahmad, K. A model for particulate matter (PM2.5) prediction for Delhi based on machine learning approaches. Procedia Comput. Sci. 167, 2101–2110 (2020).
Tao, H. et al. Machine learning algorithms for high-resolution prediction of Spatiotemporal distribution of air pollution from meteorological and soil parameters. Environ. Int. 175, 107931 (2023).
Seng, D., Zhang, Q., Zhang, X., Chen, G. & Chen, X. Spatiotemporal prediction of air quality based on LSTM neural network. Alexandria Eng. J. 60, 2021–2032 (2021).
Meng, X., Xie, C., Tang, X. & Pan, Y. Prediction of particulate matter 2. 5 concentration based on attention mechanism and convolutional BiLSTM network. Discov Appl. Sci (2025).
Bathmanabhan, S. & Saragur Madanayak, S. N. Analysis and interpretation of particulate matter - PM10, PM2.5 and PM1 emissions from the heterogeneous traffic near an urban roadway. Atmos. Pollut Res. 1, 184–194 (2010).
Gualtieri, G. et al. Assessing capability of copernicus atmosphere monitoring service to forecast PM2.5 and PM10 hourly concentrations in a European air quality hotspot. Atmos. Pollut Res. 16, 102567 (2025).
Alsowaidan, S., Al-Hurban, A., Alsaber, A. & Anbar, A. Assessment of seasonal variations in the air quality index (2019–2022) in Al-Jahra city, Kuwait. Kuwait J. Sci. 51, 100280 (2024).
Gaowa, S. et al. Using artificial neural networks to predict indoor particulate matter and TVOC concentration in an office building: model selection and method development. Energy Built Environ. https://doi.org/10.1016/j.enbenv.2024.03.001 (2024).
Lee, J. Y. Y., Miao, Y., Chau, R. L. T., Hernandez, M. & Lee, P. K. H. Artificial intelligence-based prediction of indoor bioaerosol concentrations from indoor air quality sensor data. Environ. Int. 174, 107900 (2023).
Zhai, W. & Cheng, C. A long short-term memory approach to predicting air quality based on social media data. Atmos. Environ. 237, 117411 (2020).
Chu, Y. et al. Three-hourly PM2.5 and O3 concentrations prediction based on time series decomposition and LSTM model with attention mechanism. Atmos. Pollut Res. 14, 101879 (2023).
Acknowledgements
The authors extend their appreciation to the Deanship of Research and Graduate Studies at King Khalid University for funding this work through Large Research Project under grant number RGP2/67/46. The database used in this article was funded under project scheme, programme ibn khaldoun d appui à la recherche dans le domaine des sciences humaines et sociales, CNRST, Morocco, for project entitled “Health security in Casablanca” project number IK/2018/23.
Author information
Authors and Affiliations
Contributions
M.B. contributed to methodology, data curation, and writing – original draft.M.Y. was responsible for conceptualization, validation, supervision, and resources.R.E.M. carried out formal analysis, investigation, software development, and visualization.M.A. contributed to methodology and review & editing.R.A.K. handled project administration and contributed to writing.All authors reviewed and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Bennis, M., Youssfi, M., Morabet, R.E. et al. Particulate matter (PM2.5 and PM10) prediction using fourier series decomposition in combination with LSTM and SVM. Sci Rep (2026). https://doi.org/10.1038/s41598-026-38436-4
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-38436-4


