IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0310465.html
   My bibliography  Save this article

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

Author

Listed:
  • Mohd Sakib
  • Tamanna Siddiqui
  • Suhel Mustajab
  • Reemiah Muneer Alotaibi
  • Nouf Mohammad Alshareef
  • Mohammad Zunnun Khan

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.

Suggested Citation

  • Mohd Sakib & Tamanna Siddiqui & Suhel Mustajab & Reemiah Muneer Alotaibi & Nouf Mohammad Alshareef & Mohammad Zunnun Khan, 2025. "An ensemble deep learning framework for energy demand forecasting using genetic algorithm-based feature selection," PLOS ONE, Public Library of Science, vol. 20(1), pages 1-28, January.
  • Handle: RePEc:plo:pone00:0310465
    DOI: 10.1371/journal.pone.0310465
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0310465
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0310465&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0310465?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Kulshrestha, Anurag & Krishnaswamy, Venkataraghavan & Sharma, Mayank, 2020. "Bayesian BILSTM approach for tourism demand forecasting," Annals of Tourism Research, Elsevier, vol. 83(C).
    2. Faisal Mohammad & Young-Chon Kim, 2020. "Energy load forecasting model based on deep neural networks for smart grids," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 11(4), pages 824-834, August.
    3. Bernard Rosner & Robert J. Glynn & Mei-Ling T. Lee, 2006. "The Wilcoxon Signed Rank Test for Paired Comparisons of Clustered Data," Biometrics, The International Biometric Society, vol. 62(1), pages 185-192, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Somnath Datta & Glen A. Satten, 2008. "A Signed-Rank Test for Clustered Data," Biometrics, The International Biometric Society, vol. 64(2), pages 501-507, June.
    2. Dounia El Bourakadi & Hiba Ramadan & Ali Yahyaouy & Jaouad Boumhidi, 2023. "A robust energy management approach in two-steps ahead using deep learning BiLSTM prediction model and type-2 fuzzy decision-making controller," Fuzzy Optimization and Decision Making, Springer, vol. 22(4), pages 645-667, December.
    3. Daniel A Adler & Fei Wang & David C Mohr & Tanzeem Choudhury, 2022. "Machine learning for passive mental health symptom prediction: Generalization across different longitudinal mobile sensing studies," PLOS ONE, Public Library of Science, vol. 17(4), pages 1-20, April.
    4. Emrah Kocak & Fevzi Okumus & Mehmet Altin, 2023. "Global pandemic uncertainty, pandemic discussion and visitor behaviour: A comparative tourism demand estimation for the US," Tourism Economics, , vol. 29(5), pages 1225-1250, August.
    5. Han Liu & Yongjing Wang & Haiyan Song & Ying Liu, 2023. "Measuring tourism demand nowcasting performance using a monotonicity test," Tourism Economics, , vol. 29(5), pages 1302-1327, August.
    6. Syed Emad Azhar Ali & Fong-Woon Lai & Ahmad Ali Jan & Haseeb ur Rahman & Syed Quaid Ali Shah & Salaheldin Hamad, 2024. "Does intellectual capital curb the long-term effect of information security breaches on firms’ market value?," Quality & Quantity: International Journal of Methodology, Springer, vol. 58(4), pages 3673-3702, August.
    7. Peng, Tian & Zhang, Chu & Zhou, Jianzhong & Nazir, Muhammad Shahzad, 2021. "An integrated framework of Bi-directional long-short term memory (BiLSTM) based on sine cosine algorithm for hourly solar radiation forecasting," Energy, Elsevier, vol. 221(C).
    8. Anna Urbanek & Anna Losa & Monika Wieczorek-Kosmala & Karel Hlaváček & Aleš Lokaj, 2023. "Did the Quality of Digital Communication Skills in Education Improve after the Pandemic? Evidence from HEIs," Sustainability, MDPI, vol. 15(15), pages 1-22, August.
    9. Zhang, Dongxue & Wang, Shuai & Liang, Yuqiu & Du, Zhiyuan, 2023. "A novel combined model for probabilistic load forecasting based on deep learning and improved optimizer," Energy, Elsevier, vol. 264(C).
    10. Bagkavos, Dimitrios & Patil, Prakash N., 2021. "Improving the Wilcoxon signed rank test by a kernel smooth probability integral transformation," Statistics & Probability Letters, Elsevier, vol. 171(C).
    11. Ghimire, Sujan & Deo, Ravinesh C. & Casillas-Pérez, David & Salcedo-Sanz, Sancho, 2022. "Improved Complete Ensemble Empirical Mode Decomposition with Adaptive Noise Deep Residual model for short-term multi-step solar radiation prediction," Renewable Energy, Elsevier, vol. 190(C), pages 408-424.
    12. Slepicka, Jessie, 2022. "Reassessing the missing link in general deterrence research: A behavioral economic approach," Journal of Criminal Justice, Elsevier, vol. 82(C).
    13. Ming Yin & Feiya Lu & Xingxuan Zhuo & Wangzi Yao & Jialong Liu & Jijiao Jiang, 2024. "Prediction of daily tourism volume based on maximum correlation minimum redundancy feature selection and long short‐term memory network," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(2), pages 344-365, March.
    14. del Campo, Cristina & Urquía-Grande, Elena & Pascual-Ezama, David, 2023. "Internationalizing the business school: A comparative analysis of English-medium and Spanish-medium instruction impact on student performance," Evaluation and Program Planning, Elsevier, vol. 98(C).
    15. Yu, Ling & Zhao, Pengjun & Tang, Junqing & Pang, Liang, 2023. "Changes in tourist mobility after COVID-19 outbreaks," Annals of Tourism Research, Elsevier, vol. 98(C).
    16. Bhattacharjee, Biplab & Kumar, Rajiv & Senthilkumar, Arunachalam, 2022. "Unidirectional and bidirectional LSTM models for edge weight predictions in dynamic cross-market equity networks," International Review of Financial Analysis, Elsevier, vol. 84(C).
    17. Sandipan Dutta, 2022. "Robust Testing of Paired Outcomes Incorporating Covariate Effects in Clustered Data with Informative Cluster Size," Stats, MDPI, vol. 5(4), pages 1-13, December.
    18. Zhang, Chu & Ma, Huixin & Hua, Lei & Sun, Wei & Nazir, Muhammad Shahzad & Peng, Tian, 2022. "An evolutionary deep learning model based on TVFEMD, improved sine cosine algorithm, CNN and BiLSTM for wind speed prediction," Energy, Elsevier, vol. 254(PA).
    19. Bi, Jian-Wu & Li, Hui & Fan, Zhi-Ping, 2021. "Tourism demand forecasting with time series imaging: A deep learning model," Annals of Tourism Research, Elsevier, vol. 90(C).
    20. Li, Xin & Xu, Yechi & Law, Rob & Wang, Shouyang, 2024. "Enhancing tourism demand forecasting with a transformer-based framework," Annals of Tourism Research, Elsevier, vol. 107(C).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0310465. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.