EUVIMEDOpdag EUVIMED
Crossref

Applying k ‐nearest neighbors to time series forecasting: Two new approaches

Samya Tajmouati, Bouazza E. L. Wahbi, Adel Bedoui, Abdallah Abarda, Mohamed Dakkon

Journal of Forecasting · 2024-08 · 43 (5) · 1559-1574

DOI: 10.1002/for.3093 ↗

At a glance

Journal article in Journal of Forecasting, published online on 2024-02-25. Written by Samya Tajmouati and 4 co-authors. Cited 25 times so far (Crossref); 23 references.

AbstractBibliografiske oplysningerCiteRelated studies

Abstract (original language)

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.

Cite

APA

Tajmouati, S., Wahbi, B. E. L., Bedoui, A., Abarda, A., & Dakkon, M. (2024). Applying k ‐nearest neighbors to time series forecasting: Two new approaches. Journal of Forecasting, 43(5), 1559-1574. https://doi.org/10.1002/for.3093

Vancouver

Tajmouati S, Wahbi BEL, Bedoui A, Abarda A, Dakkon M. Applying k ‐nearest neighbors to time series forecasting: Two new approaches. Journal of Forecasting. 2024;43(5):1559-1574. doi:10.1002/for.3093

BibTeX
@article{Tajmouati2024,
  author = {Tajmouati, Samya and Wahbi, Bouazza E. L. and Bedoui, Adel and Abarda, Abdallah and Dakkon, Mohamed},
  title = {Applying k ‐nearest neighbors to time series forecasting: Two new approaches},
  journal = {Journal of Forecasting},
  year = {2024},
  volume = {43},
  number = {5},
  pages = {1559--1574},
  doi = {10.1002/for.3093}
}
Start for free →