IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v15y2022i20p7547-d941080.html
   My bibliography  Save this article

A Comprehensive Study of Random Forest for Short-Term Load Forecasting

Author

Listed:
  • Grzegorz Dudek

    (Department of Electrical Engineering, Częstochowa University of Technology, 42-200 Częstochowa, Poland)

Abstract

Random forest (RF) is one of the most popular machine learning (ML) models used for both classification and regression problems. As an ensemble model, it demonstrates high predictive accuracy and low variance, while being easy to learn and optimize. In this study, we use RF for short-term load forecasting (STLF), focusing on data representation and training modes. We consider seven methods of defining input patterns and three training modes: local, global and extended global. We also investigate key RF hyperparameters to learn about their optimal settings. The experimental part of the work demonstrates on four STLF problems that our model, in its optimal variant, can outperform both statistical and ML models, providing the most accurate forecasts.

Suggested Citation

  • Grzegorz Dudek, 2022. "A Comprehensive Study of Random Forest for Short-Term Load Forecasting," Energies, MDPI, vol. 15(20), pages 1-19, October.
  • Handle: RePEc:gam:jeners:v:15:y:2022:i:20:p:7547-:d:941080
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/15/20/7547/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/15/20/7547/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Raffaella Giacomini & Halbert White, 2006. "Tests of Conditional Predictive Ability," Econometrica, Econometric Society, vol. 74(6), pages 1545-1578, November.
    2. Jesus Lago & Grzegorz Marcjasz & Bart De Schutter & Rafal Weron, 2021. "Erratum to 'Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark' [Appl. Energy 293 (2021) 116983]," WORking papers in Management Science (WORMS) WORMS/21/12, Department of Operations Research and Business Intelligence, Wroclaw University of Science and Technology.
    3. Paweł Piotrowski & Dariusz Baczyński & Marcin Kopyt & Tomasz Gulczyński, 2022. "Advanced Ensemble Methods Using Machine Learning and Deep Learning for One-Day-Ahead Forecasts of Electric Energy Production in Wind Farms," Energies, MDPI, vol. 15(4), pages 1-30, February.
    4. Lago, Jesus & Marcjasz, Grzegorz & De Schutter, Bart & Weron, Rafał, 2021. "Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark," Applied Energy, Elsevier, vol. 293(C).
    5. Chan, Felix & Pauwels, Laurent L., 2018. "Some theoretical results on forecast combinations," International Journal of Forecasting, Elsevier, vol. 34(1), pages 64-74.
    6. Arora, Siddharth & Taylor, James W., 2018. "Rule-based autoregressive moving average models for forecasting load on special days: A case study for France," European Journal of Operational Research, Elsevier, vol. 266(1), pages 259-268.
    7. Chongchong Xu & Zhicheng Liao & Chaojie Li & Xiaojun Zhou & Renyou Xie, 2022. "Review on Interpretable Machine Learning in Smart Grid," Energies, MDPI, vol. 15(12), pages 1-31, June.
    8. Bojer, Casper Solheim & Meldgaard, Jens Peder, 2021. "Kaggle forecasting competitions: An overlooked learning opportunity," International Journal of Forecasting, Elsevier, vol. 37(2), pages 587-603.
    9. Charlton, Nathaniel & Singleton, Colin, 2014. "A refined parametric model for short term load forecasting," International Journal of Forecasting, Elsevier, vol. 30(2), pages 364-368.
    10. Takeda, Hisashi & Tamura, Yoshiyasu & Sato, Seisho, 2016. "Using the ensemble Kalman filter for electricity load forecasting and analysis," Energy, Elsevier, vol. 104(C), pages 184-198.
    11. Yang, Dongchuan & Guo, Ju-e & Sun, Shaolong & Han, Jing & Wang, Shouyang, 2022. "An interval decomposition-ensemble approach with data-characteristic-driven reconstruction for short-term load forecasting," Applied Energy, Elsevier, vol. 306(PA).
    12. Chitalia, Gopal & Pipattanasomporn, Manisa & Garg, Vishal & Rahman, Saifur, 2020. "Robust short-term electrical load forecasting framework for commercial buildings using deep recurrent neural networks," Applied Energy, Elsevier, vol. 278(C).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Silvia Zarkova & Dimitar Kostov & Petko Angelov & Tsvetan Pavlov & Andrey Zahariev, 2023. "Machine Learning Algorithm for Mid-Term Projection of the EU Member States’ Indebtedness," Risks, MDPI, vol. 11(4), pages 1-17, April.
    2. Ankit Kumar Srivastava & Ajay Shekhar Pandey & Mohamad Abou Houran & Varun Kumar & Dinesh Kumar & Saurabh Mani Tripathi & Sivasankar Gangatharan & Rajvikram Madurai Elavarasan, 2023. "A Day-Ahead Short-Term Load Forecasting Using M5P Machine Learning Algorithm along with Elitist Genetic Algorithm (EGA) and Random Forest-Based Hybrid Feature Selection," Energies, MDPI, vol. 16(2), pages 1-23, January.
    3. Marcin Blachnik & Sławomir Walkowiak & Adam Kula, 2023. "Large Scale, Mid Term Wind Farms Power Generation Prediction," Energies, MDPI, vol. 16(5), pages 1-15, March.
    4. Tamás Storcz & Géza Várady & István Kistelegdi & Zsolt Ercsey, 2023. "Regression Models and Shape Descriptors for Building Energy Demand and Comfort Estimation," Energies, MDPI, vol. 16(16), pages 1-20, August.
    5. Changzhi Li & Dandan Liu & Mao Wang & Hanlin Wang & Shuai Xu, 2023. "Detection of Outliers in Time Series Power Data Based on Prediction Errors," Energies, MDPI, vol. 16(2), pages 1-19, January.
    6. Grzegorz Dudek & Paweł Piotrowski & Dariusz Baczyński, 2023. "Intelligent Forecasting and Optimization in Electrical Power Systems: Advances in Models and Applications," Energies, MDPI, vol. 16(7), pages 1-11, March.

    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. Olivares, Kin G. & Challu, Cristian & Marcjasz, Grzegorz & Weron, Rafał & Dubrawski, Artur, 2023. "Neural basis expansion analysis with exogenous variables: Forecasting electricity prices with NBEATSx," International Journal of Forecasting, Elsevier, vol. 39(2), pages 884-900.
    2. Katarzyna Maciejowska & Bartosz Uniejewski & Rafa{l} Weron, 2022. "Forecasting Electricity Prices," Papers 2204.11735, arXiv.org.
    3. Bartosz Uniejewski, 2023. "Electricity price forecasting with Smoothing Quantile Regression Averaging: Quantifying economic benefits of probabilistic forecasts," Papers 2302.00411, arXiv.org, revised Jan 2024.
    4. Arkadiusz Jędrzejewski & Grzegorz Marcjasz & Rafał Weron, 2021. "Importance of the Long-Term Seasonal Component in Day-Ahead Electricity Price Forecasting Revisited: Parameter-Rich Models Estimated via the LASSO," Energies, MDPI, vol. 14(11), pages 1-17, June.
    5. Nazila Pourhaji & Mohammad Asadpour & Ali Ahmadian & Ali Elkamel, 2022. "The Investigation of Monthly/Seasonal Data Clustering Impact on Short-Term Electricity Price Forecasting Accuracy: Ontario Province Case Study," Sustainability, MDPI, vol. 14(5), pages 1-14, March.
    6. Hain, Martin & Kargus, Tobias & Schermeyer, Hans & Uhrig-Homburg, Marliese & Fichtner, Wolf, 2022. "An electricity price modeling framework for renewable-dominant markets," Working Paper Series in Production and Energy 66, Karlsruhe Institute of Technology (KIT), Institute for Industrial Production (IIP).
    7. Vladimir Franki & Darin Majnarić & Alfredo Višković, 2023. "A Comprehensive Review of Artificial Intelligence (AI) Companies in the Power Sector," Energies, MDPI, vol. 16(3), pages 1-35, January.
    8. Zhu, Jizhong & Dong, Hanjiang & Zheng, Weiye & Li, Shenglin & Huang, Yanting & Xi, Lei, 2022. "Review and prospect of data-driven techniques for load forecasting in integrated energy systems," Applied Energy, Elsevier, vol. 321(C).
    9. Tomasz Zema & Adam Sulich, 2022. "Models of Electricity Price Forecasting: Bibliometric Research," Energies, MDPI, vol. 15(15), pages 1-18, August.
    10. Roman V. Klyuev & Irbek D. Morgoev & Angelika D. Morgoeva & Oksana A. Gavrina & Nikita V. Martyushev & Egor A. Efremenkov & Qi Mengxu, 2022. "Methods of Forecasting Electric Energy Consumption: A Literature Review," Energies, MDPI, vol. 15(23), pages 1-33, November.
    11. Marcjasz, Grzegorz & Narajewski, Michał & Weron, Rafał & Ziel, Florian, 2023. "Distributional neural networks for electricity price forecasting," Energy Economics, Elsevier, vol. 125(C).
    12. Jethro Browell & Ciaran Gilbert, 2022. "Predicting Electricity Imbalance Prices and Volumes: Capabilities and Opportunities," Energies, MDPI, vol. 15(10), pages 1-7, May.
    13. Julia Nasiadka & Weronika Nitka & Rafa{l} Weron, 2022. "Calibration window selection based on change-point detection for forecasting electricity prices," Papers 2204.00872, arXiv.org.
    14. Diankai Wang & Inna Gryshova & Mykola Kyzym & Tetiana Salashenko & Viktoriia Khaustova & Maryna Shcherbata, 2022. "Electricity Price Instability over Time: Time Series Analysis and Forecasting," Sustainability, MDPI, vol. 14(15), pages 1-24, July.
    15. Mobarak Abumohsen & Amani Yousef Owda & Majdi Owda, 2023. "Electrical Load Forecasting Using LSTM, GRU, and RNN Algorithms," Energies, MDPI, vol. 16(5), pages 1-31, February.
    16. Ivan Borisov Todorov & Fernando Sánchez Lasheras, 2022. "Forecasting Applied to the Electricity, Energy, Gas and Oil Industries: A Systematic Review," Mathematics, MDPI, vol. 10(21), pages 1-15, October.
    17. Dimitrios Kontogiannis & Dimitrios Bargiotas & Aspassia Daskalopulu & Athanasios Ioannis Arvanitidis & Lefteri H. Tsoukalas, 2022. "Error Compensation Enhanced Day-Ahead Electricity Price Forecasting," Energies, MDPI, vol. 15(4), pages 1-21, February.
    18. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    19. Micha{l} Narajewski, 2022. "Probabilistic forecasting of German electricity imbalance prices," Papers 2205.11439, arXiv.org.
    20. Trull, Oscar & García-Díaz, J. Carlos & Troncoso, Alicia, 2021. "One-day-ahead electricity demand forecasting in holidays using discrete-interval moving seasonalities," Energy, Elsevier, vol. 231(C).

    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:gam:jeners:v:15:y:2022:i:20:p:7547-:d:941080. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.