Enhancing Household Energy Consumption Forecasting Using the XGBoost Algorithm with Cross-Validation and Residual-Based Evaluation

Accurate forecasting of household energy consumption plays a crucial role in optimizing energy efficiency, supporting sustainable policy decisions, and improving operational management in smart grid systems. This study enhances conventional XGBoost-based forecasting by integrating cross-validation and residual-based evaluation to ensure model robustness and interpretability. Using a dataset of over 90,000 daily household energy records that include temperature, humidity, and appliance-level usage, a systematic preprocessing pipeline was applied—comprising data cleaning, normalization, temporal feature transformation, and partitioning into training and testing subsets. The proposed model was trained using 10-fold cross-validation to minimize overfitting and validated through residual error analysis to assess stability and bias. Evaluation metrics, including Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and the coefficient of determination (R²), demonstrate superior predictive accuracy, achieving MAE = 0.48, RMSE = 0.64, and R² = 0.9864. Visualization of actual versus predicted consumption and symmetric residual distribution further confirm the model’s reliability. The findings highlight that the enhanced XGBoost model not only achieves high precision but also provides a robust foundation for real-time energy monitoring, anomaly detection, and sustainable household energy management. Future work will integrate SHAP-based interpretability and comparative benchmarking with deep learning approaches.

Authors

Institutions

Publication Details

Journal
IJIIS International Journal of Informatics and Information Systems
Published
2025-03-01
DOI
https://doi.org/10.47738/ijiis.v8i2.253
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Household Energy Consumption Forecasting Using the XGBoost Algorithm with Cross-Validation and Residual-Based Evaluation

Dwi Sugianto
IJIIS International Journal of Informatics and Information Systems
Energy Load and Power Forecasting
article

Enhancing Household Energy Consumption Forecasting Using the XGBoost Algorithm with Cross-Validation and Residual-Based Evaluation

Dwi Sugianto
article en

Abstract

Accurate forecasting of household energy consumption plays a crucial role in optimizing energy efficiency, supporting sustainable policy decisions, and improving operational management in smart grid systems. This study enhances conventional XGBoost-based forecasting by integrating cross-validation and residual-based evaluation to ensure model robustness and interpretability. Using a dataset of over 90,000 daily household energy records that include temperature, humidity, and appliance-level usage, a systematic preprocessing pipeline was applied—comprising data cleaning, normalization, temporal feature transformation, and partitioning into training and testing subsets. The proposed model was trained using 10-fold cross-validation to minimize overfitting and validated through residual error analysis to assess stability and bias. Evaluation metrics, including Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and the coefficient of determination (R²), demonstrate superior predictive accuracy, achieving MAE = 0.48, RMSE = 0.64, and R² = 0.9864. Visualization of actual versus predicted consumption and symmetric residual distribution further confirm the model’s reliability. The findings highlight that the enhanced XGBoost model not only achieves high precision but also provides a robust foundation for real-time energy monitoring, anomaly detection, and sustainable household energy management. Future work will integrate SHAP-based interpretability and comparative benchmarking with deep learning approaches.

IJIIS International Journal of Informatics and Information SystemsVol. 8(2)
Universitas Wijayakusuma Purwokerto (ID)
Openalex Percentile: Top 71%
Energy Load and Power Forecasting
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.

Enhancing Household Energy Consumption Forecasting Using the XGBoost Algorithm with Cross-Validation and Residual-Based Evaluation — Dwi Sugianto · IJIIS International Journal of Informatics and Information Systems (2025) | TGRS Research Map | TGRS