EconPapers    
Economics at your fingertips  
 

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

Jae-Seong Hwang, Sang-Soo Lee (), Jeong-Won Gil and Choul-Ki Lee
Additional contact information
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

Sustainability, 2024, vol. 16, issue 14, 1-11

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.

Keywords: batch size; time series data; deep learning; FFT; hyper-parameter (search for similar items in EconPapers)
JEL-codes: O13 Q Q0 Q2 Q3 Q5 Q56 (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2071-1050/16/14/5936/pdf (application/pdf)
https://www.mdpi.com/2071-1050/16/14/5936/ (text/html)

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

Access Statistics for this article

Sustainability is currently edited by Ms. Alexandra Wu

More articles in Sustainability from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jsusta:v:16:y:2024:i:14:p:5936-:d:1433611