CarbonTrend: An Explainable Machine Learning Framework for Country Level CO₂ Emission Forecasting and Scenario Analysis
Keywords:
Climate Analytics, CO₂ Emission Forecasting, Explainable Machine Learning, SHAP, Scenario Simulation, Decision Support DashboardAbstract
Countries now hold more than six decades of recorded carbon dioxide emissions, yet an archive of past values says little about what comes next or what a government could do about it. This chapter presents CarbonTrend, an explainable machine learning framework that forecasts national CO₂ emissions from socioeconomic drivers, runs what if scenarios, and attaches rule based climate action recommendations that trace back to the same drivers the model uses. We used the Our World in Data country and year panel for 1960 to 2022 and compared Linear Regression, Random Forest, and XGBoost under a strict chronological split, with training through 2014, testing on 2015 to 2022, and five fold cross validation on the training set. Linear Regression performed best on the test years, with an R² of 0.9988 and an RMSE of 32.32 million tonnes, and it was kept as the production model. Coefficient and SHAP analysis show that prior year emissions carry most of the predictive weight, while population, GDP per capita, and energy per capita supply the smaller signal that the scenario simulator uses. A seven module dashboard presents each forecast with a risk badge and a traceable recommendation. Because most of the accuracy comes from the persistence of emissions, the framework is best read as a transparent trend extrapolation tool and not as a causal model. The chapter ends with the limitations of the framework and the deployment and data integration work that remains.
Downloads
References
[1] World Meteorological Organization. (2023). State of the global climate 2022. World Meteorological Organization. https://library.wmo.int/idurl/4/66214
[2] Ritchie, H., Rosado, P., & Roser, M. (2023). CO2 and greenhouse gas emissions. Our World in Data. https://ourworldindata.org/co2-and-greenhouse-gas-emissions
[3] Friedlingstein, P., et al. (2023). Global Carbon Budget 2023. Earth System Science Data, 15(12), 5301–5369. https://doi.org/10.5194/essd-15-5301-2023
[4] Jin, Y., Sharifi, A., Li, Z., Chen, S., Zeng, S., & Zhao, S. (2024). Carbon emission prediction models: A review. Science of the Total Environment, 927, 172319. https://doi.org/10.1016/j.scitotenv.2024.172319
[5] Ajala, A. A., Adeoye, O. L., Salami, O. M., & Jimoh, A. Y. (2025). An examination of daily CO2 emissions prediction through a comparative analysis of machine learning, deep learning, and statistical models. Environmental Science and Pollution Research, 32(5), 2510–2535. https://doi.org/10.1007/s11356-024-35764-8
[6] Riahi, K., van Vuuren, D. P., Kriegler, E., Edmonds, J., O’Neill, B. C., Fujimori, S., Bauer, N., Calvin, K., Dellink, R., Fricko, O., Lutz, W., Popp, A., Cuaresma, J. C., Kc, S., Leimbach, M., Jiang, L., Kram, T., Rao, S., Emmerling, J., ... Tavoni, M. (2017). The Shared Socioeconomic Pathways and their energy, land use, and greenhouse gas emissions implications: An overview. Global Environmental Change, 42, 153–168. https://doi.org/10.1016/j.gloenvcha.2016.05.009 JEIDS - Journal of Engineering Informatics and Data Systems Vol. 1(2) · 2026 71-80 © 2026 International Journal Press · Licensed under CC BY 4.0 Page 80
[7] Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324
[8] Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). Association for Computing Machinery. https://doi.org/10.1145/2939672.2939785
[9] Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems 30 (pp. 4765–4774). https://doi.org/10.48550/arXiv.1705.07874
[10] Qiao, Q., Eskandari, H., Saadatmand, H., & Sahraei, M. A. (2024). An interpretable multi-stage forecasting framework for energy consumption and CO2 emissions for the transportation sector. Energy, 286, 129499. https://doi.org/10.1016/j.energy.2023.129499
[11] Wang, F., Kaushal, R., & Khullar, D. (2020). Should health care demand interpretable artificial intelligence or accept “black box” medicine? Annals of Internal Medicine, 172(1), 59–60. https://doi.org/10.7326/M19-2548
[12] Rudin, C. (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206–215. https://doi.org/10.1038/s42256-019- 0048-x
[13] Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S.-I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1), 56–67. https://doi.org/10.1038/s42256-019-0138-9
[14] Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830. https://doi.org/10.48550/arXiv.1201.0490
[15] Grinsztajn, L., Oyallon, E., & Varoquaux, G. (2022). Why do tree-based models still outperform deep learning on typical tabular data? In Advances in Neural Information Processing Systems 35 (Datasets and Benchmarks Track). https://doi.org/10.48550/arXiv.2207.08815
[16] Rani, Deepika, Jay Kumar Pandey, and Rajendra Kumar. "DEEPFAKES AND THE COMPLIANCE VACUUM: LABELLING AI-GENERATED CONTENT UNDER ARTICLE 50 OF THE EU AI ACT." Indian Journal of Law and Legal Research Volume VIII Issue V| ISSN 2582: 8878. https://www.ijllr.com/post/deepfakes-and-the-compliance-vacuum-labelling-ai-generated-content-under-article-50-of-the-eu-ai-ac
[17] Rani, Deepika. "Protecting children from online grooming in India's increasingly digital post-covid-19 landscape: Leveraging technological solutions and AI-powered tools." International Journal of Innovative Research in Computer Science and Technology 12.3 (2024): 38-44. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4842549
[18] Kumar, Rajendra, and Deepika Rani. "Revolutionizing Early Warning Systems for Natural Disasters: Integrating AI and ML-driven Models, Tools, and Platforms." AI and ML in Early Warning Systems for Natural Disasters. Bentham Science Publishers, 2025. 98-123. https://doi.org/10.2174/9798898811389125010009
[19] Rani, Deepika. "Averting a lost COVID generation: Reimagining a post-pandemic world for children in India." Issue 2 Int'l JL Mgmt. & Human. 7 (2024): 134. https://ijlmh.com/paper/averting-a-lost-covid-generation-reimagining-a-post-pandemic-world-for-children-in-india/
[20] Lata, Prem, and Deepika Rani. "Designing Formative Assessment Through Multimodal Learning Analytics: Integrating Knowledge Tracing, Dashboards, and Epistemic Feedback in Higher Education." Journal of Interdisciplinary Education, Learning and Knowledge Sciences 1.1 (2026): 34-45. https://ijpress.com/jielks/article/view/49
[21] Rani, Deepika, and Prem Lata. "Interpretive Debt: How Organisations Accumulate Hidden Liabilities When Humans Defer Sensemaking to Automated Systems." Journal of Digital Justice and Legal Innovation 1.1 (2026): 31-41. https://ijpress.com/jdjli/article/view/44
[22] Rani, Deepika. "Operational Translucency: A Third Mode of Algorithmic Visibility in Platform Governance." Journal of Digital Justice and Legal Innovation 1.1 (2026): 20-30. https://ijpress.com/jdjli/article/view/43
[23] Pandey, Jay Kumar, and Rajendra Kumar. "Governing the Algorithmic Agent: Confronting Overt and Covert Challenges to Justice and the Future of Work." Issue 4 Int'l JL Mgmt. & Human. 8 (2025): 1974. https://ijlmh.com/paper/governing-the-algorithmic-agent-confronting-overt-and-covert-challenges-to-justice-and-the-future-work/
[24] Kumar, Dr Rajendra, and Prof Singh. "The Rise of the Robo-Mediator: AI's Transformative Role in Alternative Dispute Resolution." White Black Legal 3.1 (2024): 1-11. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5222318
[25] Kumar, Dr Rajendra. "Ethical Implications of the Use of Artificial Intelligence: Failure of Ethical AI to Address Privacy, Discrimination and Other Issues." (2024). https://doi.org/10.13140/RG.2.2.27100.30085
[26] Pandey, J. K. (Ed.). (2024). Explainable artificial intelligence and solar energy integration. IGI Global.
[27] Pandey, J. K., Veeraiah, V., Ranjan, V., Dhabliya, D., Mishra, K. N., & Soni, S., et al. (2023). A flexible blockchain-dependent IoT communication framework. In Computer Science Engineering and Emerging Technologies (ICCS-2022) (pp. 97–102). Taylor & Francis. https://doi.org/10.1201/9781003405580
[28] Pandey, J. K., & Aharwal, V. K. (2022). Bypass diodes to improve solar panel efficiency for certain module. Journal of Nano- and Electronic Physics, 14(3), 03003. https://doi.org/10.21272/jnep.14(3).03003
[29] Pandey, J. K., & Aharwal, V. K. (2023). Maximum energy extraction using weather forecasting and optimum tilt angle for solar panel. In Recent Advances in New Technology, Business Management, Education and Social Sciences.
[30] Singh, S., & Pandey, J. K. (2026). Facial emotion recognition with sentiment analysis for cross-dataset generalization. International Journal of Scientific Research in Computer Science and Engineering, 14(3), 17–26. https://doi.org/10.26438/ijsrcse.v14i3.829
Downloads
Published
Issue
Section
License
Copyright (c) 2026 International Journal Press

This work is licensed under a Creative Commons Attribution 4.0 International License.
All articles are distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0): anyone may copy, redistribute, remix, transform, and build upon the material in any medium or format for any purpose, including commercially, provided appropriate credit is given to the original authors and a link to the licence is provided.