Open Access iconOpen Access

ARTICLE

Utilizing Machine Learning and SHAP Values for Improved and Transparent Energy Usage Predictions

Faisal Ghazi Beshaw1, Thamir Hassan Atyia2, Mohd Fadzli Mohd Salleh1, Mohamad Khairi Ishak3, Abdul Sattar Din1,*

1 School of Electrical and Electronic Engineering, Universiti Sains Malaysia, Seberang Perai, 14300, Malaysia
2 Electrical Engineering Department, Tikrit University, Tikrit, 34001, Iraq
3 Department of Electrical and Computer Engineering, College of Engineering and Information Technology, Ajman University, Ajman, P.O. Box 346, United Arab Emirates

* Corresponding Author: Abdul Sattar Din. Email: email

Computers, Materials & Continua 2025, 83(2), 3553-3583. https://doi.org/10.32604/cmc.2025.061400

Abstract

The significance of precise energy usage forecasts has been highlighted by the increasing need for sustainability and energy efficiency across a range of industries. In order to improve the precision and openness of energy consumption projections, this study investigates the combination of machine learning (ML) methods with Shapley additive explanations (SHAP) values. The study evaluates three distinct models: the first is a Linear Regressor, the second is a Support Vector Regressor, and the third is a Decision Tree Regressor, which was scaled up to a Random Forest Regressor/Additions made were the third one which was Regressor which was extended to a Random Forest Regressor. These models were deployed with the use of Shareable, Plot-interpretable Explainable Artificial Intelligence techniques, to improve trust in the AI. The findings suggest that our developed models are superior to the conventional models discussed in prior studies; with high Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE) values being close to perfection. In detail, the Random Forest Regressor shows the MAE of 0.001 for predicting the house prices whereas the SVR gives 0.21 of MAE and 0.24 RMSE. Such outcomes reflect the possibility of optimizing the use of the promoted advanced AI models with the use of Explainable AI for more accurate prediction of energy consumption and at the same time for the models’ decision-making procedures’ explanation. In addition to increasing prediction accuracy, this strategy gives stakeholders comprehensible insights, which facilitates improved decision-making and fosters confidence in AI-powered energy solutions. The outcomes show how well ML and SHAP work together to enhance prediction performance and guarantee transparency in energy usage projections.

Keywords

Renewable energy consumption; machine learning; explainable AI; random forest; support vector machine; decision trees; forecasting; energy modeling

Cite This Article

APA Style
Beshaw, F.G., Atyia, T.H., Salleh, M.F.M., Ishak, M.K., Din, A.S. (2025). Utilizing Machine Learning and SHAP Values for Improved and Transparent Energy Usage Predictions. Computers, Materials & Continua, 83(2), 3553–3583. https://doi.org/10.32604/cmc.2025.061400
Vancouver Style
Beshaw FG, Atyia TH, Salleh MFM, Ishak MK, Din AS. Utilizing Machine Learning and SHAP Values for Improved and Transparent Energy Usage Predictions. Comput Mater Contin. 2025;83(2):3553–3583. https://doi.org/10.32604/cmc.2025.061400
IEEE Style
F. G. Beshaw, T. H. Atyia, M. F. M. Salleh, M. K. Ishak, and A. S. Din, “Utilizing Machine Learning and SHAP Values for Improved and Transparent Energy Usage Predictions,” Comput. Mater. Contin., vol. 83, no. 2, pp. 3553–3583, 2025. https://doi.org/10.32604/cmc.2025.061400



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 304

    View

  • 165

    Download

  • 0

    Like

Share Link