EconPapers    
Economics at your fingertips  
 

An ensemble deep learning framework for energy demand forecasting using genetic algorithm-based feature selection

Mohd Sakib, Tamanna Siddiqui, Suhel Mustajab, Reemiah Muneer Alotaibi, Nouf Mohammad Alshareef and Mohammad Zunnun Khan

PLOS ONE, 2025, vol. 20, issue 1, 1-28

Abstract: Accurate energy demand forecasting is critical for efficient energy management and planning. Recent advancements in computing power and the availability of large datasets have fueled the development of machine learning models. However, selecting the most appropriate features to enhance prediction accuracy and robustness remains a key challenge. This study proposes an ensemble approach that integrates a genetic algorithm with multiple forecasting models to optimize feature selection. The genetic algorithm identifies the optimal subset of features from a dataset that includes historical energy consumption, weather variables, and temporal characteristics. These selected features are then used to train three base learners: Long Short-Term Memory (LSTM), Bi-directional Long Short-Term Memory (BiLSTM), and Gated Recurrent Unit (GRU). The predictions from these models are combined using a stacking ensemble technique to generate the final forecast. To enhance model evaluation, we divided the dataset into weekday and weekend subsets, allowing for a more detailed analysis of energy consumption patterns. To ensure the reliability of our findings, we conducted ten simulations and applied the Wilcoxon Signed Rank Test to the results. The proposed model demonstrated exceptional precision, achieving a Root Mean Square Error (RMSE) of 130.6, a Mean Absolute Percentage Error (MAPE) of 0.38%, and a Mean Absolute Error (MAE) of 99.41 for weekday data. The model also maintained high accuracy for weekend predictions, with an RMSE of 137.41, a MAPE of 0.42%, and an MAE of 105.67. This research provides valuable insights for energy analysts and contributes to developing more sophisticated demand forecasting methods.

Date: 2025
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0310465 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 10465&type=printable (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0310465

DOI: 10.1371/journal.pone.0310465

Access Statistics for this article

More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().

 
Page updated 2025-06-07
Handle: RePEc:plo:pone00:0310465