Application of Random Data Splitting Technique for Time Series Modeling Using Feedforward Neural Network and Support Vector Regression Models

B. R. P. M. Basnayake, N. V. Chandrasekara

Abstract


In predictive modeling, data partitioning mainly involves dividing the dataset into a training set for learning model parameters and a testing set for assessing generalizability through predictive performance. In time series forecasting, non-random data splitting is commonly used where initial observations are used for training, a subsequent portion for validation and latest observations are utilized for testing. However, the effectiveness of random data partitioning where observations are randomly distributed into training, validation and testing subsets remains underexplored within the context of time series data. This study investigates the suitability of random data partitioning in time series forecasting using both stationary and non-stationary simulated datasets, as well as real-world data. Feedforward neural network (FFNN) and Support vector regression (SVR) models were implemented, with model performance optimized through systematic trial-and-error hyperparameter tuning. Under random data-splitting approach, 30 different training and testing subsets are generated to assess the stability and robustness of model performance across different sample compositions. Random data partitioning is implemented at the level of constructed supervised learning instances, where each instance consisted of lagged input variables and their corresponding target values, forming distinct input–output pairs. The allocation of these instances to training and testing subsets is carried out entirely at random, without preserving sequential ordering or grouping temporally adjacent observations, while strictly maintaining original input–output correspondence within each constructed instance. The findings indicate that, for both simulated and real-world datasets, random data splitting resulted in improved predictive performance of both models, yielding lower error metrics compared to non-random splitting. These results suggested that random data splitting can enhance generalization and forecasting performance in time series applications with appropriate models. The study provides valuable empirical evidence on data partitioning strategies, supporting researchers and practitioners in making more informed decisions regarding model evaluation and selection in time series forecasting tasks.


Keywords


Feedforward Neural Network; Non-Random Data Split; Random Data Split; Support Vector Regression; Time Series Data

Full Text:

PDF

References


G. P. Zhang, B. E. Patuwo, and M. Y. Hu, “A simulation study of artificial neural networks for nonlinear time-series forecasting,” Comput Oper Res, vol. 28, no. 4, pp. 381–396, Apr. 2001, doi: 10.1016/S0305-0548(99)00123-9.

B. R. P. M. Basnayake and N. V. Chandrasekara, “Utilization of Various Optimization Algorithms in Neural Network Models for Forecasting Exchange Rates,” in 4th International Conference on Advanced Research in Computing (ICARC), Belihuloya: Institute of Electrical and Electronics Engineers (IEEE), 2024, pp. 55–60. doi: 10.1109/ICARC61713.2024.10499767.

T. Fischer, C. Krauss, and A. Treichel, “Machine learning for time series forecasting- a simulation study,” 2018.

G. P. Zhang and M. Qi, “Neural network forecasting for seasonal and trend time series,” Eur J Oper Res, vol. 160, no. 2, pp. 501–514, Jan. 2005, doi: 10.1016/j.ejor.2003.08.037.

B. R. P. M. Basnayake and N. V. Chandrasekara, “Assessing the Performance of Feedforward Neural Network Models with Random Data Split for Time Series Data: A Simulation Study,” in International Research Conference on Smart Computing and Systems Engineering (SCSE), Colombo: Institute of Electrical and Electronics Engineers (IEEE), 2024, pp. 1–6. doi: 10.1109/SCSE61872.2024.10550735.

I. S. Al-Mejibli, J. K. Alwan, and D. H. Abd, “The effect of gamma value on support vector machine performance with different kernels,” International Journal of Electrical and Computer Engineering, vol. 10, no. 5, pp. 5497–5506, Oct. 2020, doi: 10.11591/IJECE.V10I5.PP5497-5506.

K. Smets, B. Verdonk, and E. M. Jordaan, “Evaluation of Performance Measures for SVR Hyperparameter Selection,” in International Joint Conference on Neural Networks, Institute of Electrical and Electronics Engineers (IEEE), 2007, pp. 637–642.

A. J. Dautel, W. K. Härdle, S. Lessmann, and H.-V. Seow, “Forex exchange rate forecasting using deep recurrent neural networks,” Digit Finance, vol. 2, no. 1–2, pp. 69–96, Sep. 2020, doi: 10.1007/s42521-020-00019-x.

C. Granger and A. Anderson, An introduction to bilinear time series models. Göttingen: Vandenhoeck and Ruprecht, 1978.

H. Tong and K. Lim, “Threshold autoregression, limit cycles and cyclical data,” Journal of the Royal Statistical Society, vol. 42, no. 3, pp. 245–268, 1980.

B. R. P. M. Basnayake and N. V. Chandrasekara, “Forecasting exchange rates in Sri Lanka: A comparison of the double seasonal autoregressive integrated moving average models (DSARIMA) and SARIMA models,” Journal of Science of the University of Kelaniya, vol. 15, no. 2, pp. 192–209, Dec. 2022, doi: 10.4038/josuk.v15i2.8067.

W. J. Chen, J. J. Yao, and Y. H. Shao, “Volatility forecasting using deep neural network with time-series feature embedding,” Economic Research-Ekonomska Istrazivanja, vol. 36, no. 1, pp. 1377–1401, 2023, doi: 10.1080/1331677X.2022.2089192.

C. D. Lewis, Industrial and business forecasting methods: A practical guide to exponential smoothing and curve fitting. London: Butterworth Scientific, 1982.




DOI: https://doi.org/10.47738/jads.v7i2.1216

Refbacks

  • There are currently no refbacks.



Barcode

Journal of Applied Data Sciences

ISSN:2723-6471 (Online)
Publisher:Bright Publisher
Website:http://bright-journal.org/JADS
Email:taqwa@amikompurwokerto.ac.id (principal contact)
  support@bright-journal.org (technical issues)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0