IDEAS home Printed from https://ideas.repec.org/h/spr/isochp/978-3-031-94862-6_12.html
   My bibliography  Save this book chapter

Efficient Gasoline Spot Price Prediction Using Hyperparameter Optimization and Ensemble Machine Learning Approach

In: Machine Learning Technologies on Energy Economics and Finance

Author

Listed:
  • Md. Amir Hamja

    (Hajee Mohammad Danesh Science and Technology University)

  • Md Rakinus Sakib

    (Hajee Mohammad Danesh Science and Technology University)

  • Mahmudul Hasan

    (Deakin University
    Hajee Mohammad Danesh Science and Technology University)

  • Md Sabir Hossain

    (King Fahd University of Petroleum and Minerals (KFUPM))

Abstract

Energy price prediction is crucial for optimizing resource allocation, reducing costs, and ensuring efficient energy management in markets and industries. To accurately capture the varied fluctuation patterns in energy prices, we introduce an energy price prediction system that integrates Machine Learning (ML), Deep Learning (DL), and Ensemble Learning models. We designed four stacking ensemble ML models to combine the unique features of different ML models, aiming for better prediction performance. Among all the ensemble models, the stacking LRSDR model, (base models: LR, Ridge, SVR, and DT and meta-model: Ridge) which combines Linear Regression (LR), Ridge Regression, Decision Tree Regression (DTR), and Support Vector Regression (SVR), demonstrates superior performance in terms of loss, prediction score, and computational speed. It achieves an R 2 $$^2$$ of 98% for U.S. gasoline prices and 99.2% for New York gasoline prices, with processing times of just 1.57 seconds for U.S. gasoline and 0.66 seconds for New York gasoline. Moreover, low values for MAE (Mean Absolute Error), MSE (Mean Squared Error), RMSE (Root Mean Squared Error), MAPE (Mean Absolute Percentage Error), and sMAPE (Symmetric Mean Absolute Percentage Error) by performing hyperparameter tuning process to find the better parameter values of the ML models to accelerate the training process. To assess the LRSDR model’s effectiveness, we compared it with established individual and ensemble learning methods typically employed for energy price forecasting, such as LR, Ridge, Lasso, Polynomial, SVR, DTR, Gradient Boosting, LightGBM (Light Gradient Boosting Machine), XGBoost (Extreme Gradient Boosting), MLP (Multilayer Perceptron), GRU (Gated Recurrent Unit), LSTM (Long Short-Term Memory), and BiLSTM (Bidirectional Long Short-Term Memory). This study offers critical insights into accurate energy price prediction, essential for optimizing market strategies and enhancing energy efficiency.

Suggested Citation

  • Md. Amir Hamja & Md Rakinus Sakib & Mahmudul Hasan & Md Sabir Hossain, 2025. "Efficient Gasoline Spot Price Prediction Using Hyperparameter Optimization and Ensemble Machine Learning Approach," International Series in Operations Research & Management Science, in: Mohammad Zoynul Abedin & Wang Yong (ed.), Machine Learning Technologies on Energy Economics and Finance, pages 285-313, Springer.
  • Handle: RePEc:spr:isochp:978-3-031-94862-6_12
    DOI: 10.1007/978-3-031-94862-6_12
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a
    for a similarly titled item that would be available.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    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:spr:isochp:978-3-031-94862-6_12. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.