Next Article in Journal
Statistical Cost Anomaly Screening and Explanation for Preliminary Design Estimates of Power Grid Substation Projects
Previous Article in Journal
Probabilistic Power Forecasting for Photovoltaic Plant Clusters Using VMD-GCN-Informer
Previous Article in Special Issue
Input-Adaptive Dynamic Convolution-Augmented Transformer for Energy Demand Forecasting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Day-Ahead XGBoost Forecasting of Aggregated Residential Load: Accuracy and SHAP Ranking Agreement Across Experimental Configurations

Faculty of Electrical Engineering, Częstochowa University of Technology, 69 J.H. Dąbrowskiego Street, 42-201 Częstochowa, Poland
*
Author to whom correspondence should be addressed.
Energies 2026, 19(18), 4426; https://doi.org/10.3390/en19184426 (registering DOI)
Submission received: 13 August 2026 / Revised: 6 September 2026 / Accepted: 16 September 2026 / Published: 18 September 2026
(This article belongs to the Special Issue Forecasting Electricity Demand Using AI and Machine Learning)

Abstract

This study assessed how the selected seasonal test period, training-window strategy, and hyperparameter selection were associated with differences in XGBoost day-ahead forecast accuracy and interpretation for approximately 300 G11-tariff households in Poland. Sixteen configurations combined four 31-day periods, sliding or expanding training windows, and shared (H1) or window-specific (H2) hyperparameters. The model used 19 temporal, meteorological, and calendar features; meteorological predictors for training, validation, and testing were archived numerical weather prediction (NWP) forecasts from the same operational forecasting system, available before the forecasted day. Accuracy was evaluated using mean absolute error (MAE), root mean square error (RMSE), and mean absolute percentage error (MAPE); paired comparisons used the Diebold–Mariano test with the Harvey–Leybourne–Newbold correction and Holm adjustment. Global SHAP (SHapley Additive exPlanations) rankings were compared using Spearman’s coefficient. MAE ranged from 7.79 to 14.98 kWh, and all configurations had lower MAE, RMSE, and MAPE than both persistence benchmarks. After Holm correction, no training-window strategy showed a statistically supported advantage; H2 was supported for the autumn expanding-window comparison, whereas the summer result depended on the variance estimator. The 24 h consumption lag ranked first in every configuration, and mean rank agreement across 120 pairs was 0.897. Accuracy varied across periods and configurations, whereas feature hierarchy remained highly consistent.
Keywords: short-term load forecasting; day-ahead forecasting; XGBoost; SHAP; explainable artificial intelligence; residential electricity consumers; G11 tariff; feature importance; machine learning short-term load forecasting; day-ahead forecasting; XGBoost; SHAP; explainable artificial intelligence; residential electricity consumers; G11 tariff; feature importance; machine learning

Share and Cite

MDPI and ACS Style

Szeląg, P.; Popławski, T.; Adamusiński, M. Day-Ahead XGBoost Forecasting of Aggregated Residential Load: Accuracy and SHAP Ranking Agreement Across Experimental Configurations. Energies 2026, 19, 4426. https://doi.org/10.3390/en19184426

AMA Style

Szeląg P, Popławski T, Adamusiński M. Day-Ahead XGBoost Forecasting of Aggregated Residential Load: Accuracy and SHAP Ranking Agreement Across Experimental Configurations. Energies. 2026; 19(18):4426. https://doi.org/10.3390/en19184426

Chicago/Turabian Style

Szeląg, Piotr, Tomasz Popławski, and Michał Adamusiński. 2026. "Day-Ahead XGBoost Forecasting of Aggregated Residential Load: Accuracy and SHAP Ranking Agreement Across Experimental Configurations" Energies 19, no. 18: 4426. https://doi.org/10.3390/en19184426

APA Style

Szeląg, P., Popławski, T., & Adamusiński, M. (2026). Day-Ahead XGBoost Forecasting of Aggregated Residential Load: Accuracy and SHAP Ranking Agreement Across Experimental Configurations. Energies, 19(18), 4426. https://doi.org/10.3390/en19184426

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop