arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.14200stat.ME
收藏

应用k-近邻法进行时间序列预测的两种新方法

Applying k-nearest neighbors to time series forecasting : two new approaches

Samya Tajmouati, Bouazza El Wahbi, Adel Bedoui, Abdallah Abarda, Mohamed Dakkoun

摘要:

K-近邻算法是分类和回归的重要方法之一。尽管它的简单,k-近邻已成功地应用于时间序列预测。然而,选择邻居的数量和特征选择是一项艰巨的任务。本文介绍了两种预测时间序列的方法,我们称之为加权最近邻的经典参数调整和加权最近邻的快速参数调整。第一种方法使用经典的参数调优,将最近的子序列与过去相同长度的每个可能的子序列进行比较。第二种方法减少了邻居的搜索集,这导致显著减少的网格大小,因此降低了计算时间。为了调整模型的参数,这两种方法都实现了一种受加权最近邻交叉验证启发的方法。我们评估模型的预测性能和准确性。然后,我们将它们与一些经典的方法,特别是季节性自回归积分移动平均,Holt-Winters和指数平滑状态空间模型进行了比较。在美国和英国的牛奶生产的零售和食品服务销售的真实数据的例子进行了分析,以证明所提出的方法的应用和效率。

英文摘要:

K-nearest neighbors algorithm is one of the prominent techniques used in classification and regression. Despite its simplicity, the k-nearest neighbors has been successfully applied in time series forecasting. However, the selection of the number of neighbors and feature selection is a daunting task. In this paper, we introduce two methodologies to forecasting time series that we refer to as Classical Parameters Tuning in Weighted Nearest Neighbors and Fast Parameters Tuning in Weighted Nearest Neighbors. The first approach uses classical parameters tuning that compares the most recent subsequence with every possible subsequence from the past of the same length. The second approach reduces the neighbors' search set, which leads to significantly reduced grid size and hence a lower computational time. To tune the models' parameters, both methods implement an approach inspired by cross-validation for weighted nearest neighbors. We evaluate the forecasting performance and accuracy of our models. Then, we compare them to some classical approaches, especially, Seasonal Autoregressive Integrated Moving Average, Holt-Winters and Exponential Smoothing State Space Model. Real data examples on retail and food services sales in the USA and milk production in the UK are analyzed to demonstrate the application and the efficiency of the proposed approaches.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑