Published July 5, 2024 | Version v1

Data from: Evaluating Window Size Effects on Univariate Time Series Forecasting with Machine Learning

  • 1. ROR icon Universidade de Fortaleza
  • 2. ROR icon Universidade Federal do Ceará

Description

In the realm of time series prediction modeling, the window size (w) is a critical hyperparameter that determines the number of time units included in each example provided to a learning model. This hyperparameter is crucial because it allows the learning model to recognize both long-term and short-term trends, as well as seasonal patterns, while reducing sensitivity to random noise. This study aims to elucidate the impact of window size on the performance of machine learning algorithms in univariate time series forecasting tasks. To achieve this, we employed 40 time series from two different domains, conducting experiments with varying window sizes using four types of machine learning algorithms: Bagging, Boosting, Stacking, and a Recurrent Neural Network (RNN) architecture. The results reveal that increasing the window size generally enhances the evaluation metric values up to a stabilization point, beyond which further increases do not significantly improve predictive accuracy. This stabilization effect was observed in both domains when w values exceeded 100 time steps. Moreover, the study found that RNN architectures do not consistently outperform ensemble models in various univariate time series forecasting scenarios.

Files

bus.csv

Files (2.9 MB)

Name Size Download all
md5:ec445c25f8bd51eb877e88acc0fef7c9
2.5 MB Preview Download
md5:790113abc5fcbe568f3492fd9781d696
459 Bytes Preview Download
md5:ca06fc7dddae8443e6a08e287f754b4d
429.2 kB Preview Download