IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v16y2024i14p5936-d1433611.html
   My bibliography  Save this article

Determination of Optimal Batch Size of Deep Learning Models with Time Series Data

Author

Listed:
  • Jae-Seong Hwang

    (Transportation Research Institute, Ajou University, Suwon 16499, Republic of Korea)

  • Sang-Soo Lee

    (Department of Transportation System Engineering, Ajou University, Suwon 16499, Republic of Korea)

  • Jeong-Won Gil

    (Department of DNA+ Convergence, Ajou University, Suwon 16499, Republic of Korea)

  • Choul-Ki Lee

    (Department of Transportation System Engineering, Ajou University, Suwon 16499, Republic of Korea)

Abstract

This paper presents a new method to determine the optimal batch size for applying deep learning models with time series data. A set of batch sizes is determined by considering the length of the repetition pattern of the data using the Fast Fourier Transform (FFT). A comparative analysis is conducted to identify the impact of varying batch sizes on prediction errors for the three deep learning models. The results show that the RNN model has the optimal batch size that produces the minimum prediction error. In the DNN and CNN models, the optimal batch size is not correlated with the repetition pattern of time series data. Therefore, it is not recommended to apply CNN and DNN models of time series data. However, if used, a small batch size can be selected to reduce training time. In addition, the range of prediction error according to batch size is significantly larger for RNN models compared to DNN and CNN models.

Suggested Citation

  • Jae-Seong Hwang & Sang-Soo Lee & Jeong-Won Gil & Choul-Ki Lee, 2024. "Determination of Optimal Batch Size of Deep Learning Models with Time Series Data," Sustainability, MDPI, vol. 16(14), pages 1-11, July.
  • Handle: RePEc:gam:jsusta:v:16:y:2024:i:14:p:5936-:d:1433611
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/16/14/5936/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/16/14/5936/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Yi Zhang & A. Mesaros & K. Fujita & S. D. Edkins & M. H. Hamidian & K. Ch’ng & H. Eisaki & S. Uchida & J. C. Séamus Davis & Ehsan Khatami & Eun-Ah Kim, 2019. "Machine learning in electronic-quantum-matter imaging experiments," Nature, Nature, vol. 570(7762), pages 484-490, June.
    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. Gibson Kimutai & Alexander Ngenzi & Rutabayiro Ngoga Said & Ambrose Kiprop & Anna Förster, 2020. "An Optimum Tea Fermentation Detection Model Based on Deep Convolutional Neural Networks," Data, MDPI, vol. 5(2), pages 1-26, April.

    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:jsusta:v:16:y:2024:i:14:p:5936-:d:1433611. 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.