将 K 最近邻法应用于时间序列预测:两种新方法

IF 3.4 3区 经济学 Q1 ECONOMICS Journal of Forecasting Pub Date : 2024-02-25 DOI:10.1002/for.3093
Samya Tajmouati, Bouazza E. L. Wahbi, Adel Bedoui, Abdallah Abarda, Mohamed Dakkon
{"title":"将 K 最近邻法应用于时间序列预测:两种新方法","authors":"Samya Tajmouati,&nbsp;Bouazza E. L. Wahbi,&nbsp;Adel Bedoui,&nbsp;Abdallah Abarda,&nbsp;Mohamed Dakkon","doi":"10.1002/for.3093","DOIUrl":null,"url":null,"abstract":"<p>The <i>k</i>-nearest neighbors algorithm is one of the prominent techniques used in classification and regression. Despite its simplicity, the <i>k</i>-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 for 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 other 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 United States and milk production in the United Kingdom are analyzed to demonstrate the application and efficiency of the proposed approaches.</p>","PeriodicalId":47835,"journal":{"name":"Journal of Forecasting","volume":null,"pages":null},"PeriodicalIF":3.4000,"publicationDate":"2024-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Applying k-nearest neighbors to time series forecasting: Two new approaches\",\"authors\":\"Samya Tajmouati,&nbsp;Bouazza E. L. Wahbi,&nbsp;Adel Bedoui,&nbsp;Abdallah Abarda,&nbsp;Mohamed Dakkon\",\"doi\":\"10.1002/for.3093\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>The <i>k</i>-nearest neighbors algorithm is one of the prominent techniques used in classification and regression. Despite its simplicity, the <i>k</i>-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 for 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 other 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 United States and milk production in the United Kingdom are analyzed to demonstrate the application and efficiency of the proposed approaches.</p>\",\"PeriodicalId\":47835,\"journal\":{\"name\":\"Journal of Forecasting\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":3.4000,\"publicationDate\":\"2024-02-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Forecasting\",\"FirstCategoryId\":\"96\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/for.3093\",\"RegionNum\":3,\"RegionCategory\":\"经济学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ECONOMICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Forecasting","FirstCategoryId":"96","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/for.3093","RegionNum":3,"RegionCategory":"经济学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ECONOMICS","Score":null,"Total":0}
引用次数: 0

摘要

k 近邻算法是用于分类和回归的重要技术之一。尽管 k 近邻算法非常简单,但它已成功应用于时间序列预测。然而,邻居数量的选择和特征选择是一项艰巨的任务。在本文中,我们介绍了两种预测时间序列的方法,分别称为加权近邻中的经典参数调整和加权近邻中的快速参数调整。第一种方法使用经典参数调整,将最近的子序列与过去所有可能的相同长度的子序列进行比较。第二种方法减少了近邻搜索集,从而大大减少了网格大小,从而降低了计算时间。为了调整模型参数,两种方法都采用了加权近邻交叉验证法。我们评估了模型的预测性能和准确性。然后,我们将它们与其他方法进行比较,特别是季节自回归综合移动平均法、霍尔特-温特斯法和指数平滑状态空间模型。我们对美国零售和食品服务销售以及英国牛奶生产的真实数据进行了分析,以证明所提方法的应用和效率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Applying k-nearest neighbors to time series forecasting: Two new approaches

The 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 for 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 other 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 United States and milk production in the United Kingdom are analyzed to demonstrate the application and efficiency of the proposed approaches.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
5.40
自引率
5.90%
发文量
91
期刊介绍: The Journal of Forecasting is an international journal that publishes refereed papers on forecasting. It is multidisciplinary, welcoming papers dealing with any aspect of forecasting: theoretical, practical, computational and methodological. A broad interpretation of the topic is taken with approaches from various subject areas, such as statistics, economics, psychology, systems engineering and social sciences, all encouraged. Furthermore, the Journal welcomes a wide diversity of applications in such fields as business, government, technology and the environment. Of particular interest are papers dealing with modelling issues and the relationship of forecasting systems to decision-making processes.
期刊最新文献
Predictor Preselection for Mixed‐Frequency Dynamic Factor Models: A Simulation Study With an Empirical Application to GDP Nowcasting Deep Dive Into Churn Prediction in the Banking Sector: The Challenge of Hyperparameter Selection and Imbalanced Learning Demand Forecasting New Fashion Products: A Review Paper A multi‐objective optimization metaheuristic hybrid technique for forecasting the electricity consumption of the UAE: A grey wolf approach Toward a smart forecasting model in supply chain management: A case study of coffee in Vietnam
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1