An XGBoost-SHAP Model for Energy Demand Prediction With Boruta–Lasso Feature Selection

Energy demand prediction is essential in ensuring national energy security, promoting high-quality economic development, advancing sustainable development, optimizing the energy structure, and achieving dual carbon goals. In recent years, machine learning (ML) algorithms have been extensively used in energy demand prediction but with poor interpretability. This study proposes an interpretable ML framework for energy demand prediction based on the Boruta-Lasso two-stage feature selection model, extreme gradient boosting (XGBoost) regression model, grid search optimization algorithm, and Shapley additive explanations (SHAP) algorithm. Taking China as an example, the results show that the XGBoost-based model achieves R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>, MAE, and RMSE of 0.9975, 0.0108, and 0.0157, respectively, with higher prediction accuracy compared to other models. In addition, the analysis based on the SHAP algorithm shows that gross national income (GNI), gross domestic product (GDP), total population at the year-end, per capita consumption expenditure, and the proportion of added value of the secondary industry are the main drivers of energy demand. The framework established in this study helps to screen influencing factors, predict energy demand, and simultaneously explain the relationship between these factors and energy demand.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3593558
Citations
4
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
2.92
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An XGBoost-SHAP Model for Energy Demand Prediction With Boruta–Lasso Feature Selection

YC Yang, Jifei Li, Shaobing Hu, Yiwen Wang et al.
4 citations
IEEE Access
Energy Load and Power Forecasting
2.92
article

An XGBoost-SHAP Model for Energy Demand Prediction With Boruta–Lasso Feature Selection

YC Yang, Jifei Li, Shaobing Hu, Yiwen Wang, Yuting Jin, Weibin Cheng
article en
4 citations

Abstract

Energy demand prediction is essential in ensuring national energy security, promoting high-quality economic development, advancing sustainable development, optimizing the energy structure, and achieving dual carbon goals. In recent years, machine learning (ML) algorithms have been extensively used in energy demand prediction but with poor interpretability. This study proposes an interpretable ML framework for energy demand prediction based on the Boruta-Lasso two-stage feature selection model, extreme gradient boosting (XGBoost) regression model, grid search optimization algorithm, and Shapley additive explanations (SHAP) algorithm. Taking China as an example, the results show that the XGBoost-based model achieves R<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup>, MAE, and RMSE of 0.9975, 0.0108, and 0.0157, respectively, with higher prediction accuracy compared to other models. In addition, the analysis based on the SHAP algorithm shows that gross national income (GNI), gross domestic product (GDP), total population at the year-end, per capita consumption expenditure, and the proportion of added value of the secondary industry are the main drivers of energy demand. The framework established in this study helps to screen influencing factors, predict energy demand, and simultaneously explain the relationship between these factors and energy demand.

IEEE AccessVol. 13
Yangtze University (CN)
Affordable and clean energy
Openalex Percentile: Top 9%
Energy Load and Power Forecasting
2.92
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.