Applying k-nearest neighbors to time series forecasting : two new approaches
Samya TajmouatiBouazza El WahbiAdel BedouiAbdallah AbardaMohamed Dakkoun
Samya Tajmouati
Bouazza El Wahbi
Adel Bedoui
Abdallah Abarda
Mohamed Dakkoun
+5
This paper introduces two k-nearest neighbors (KNN) approaches for time series forecasting. The first, Classical Parameters Tuning in Weighted Nearest Neighbors, compares the most recent subsequence with all past subsequences of the same length. The second, Fast Parameters Tuning, reduces the search set for neighbors, thereby decreasing computational time. Both methods use a cross-validation-inspired approach for tuning model parameters. Evaluations on real-world data (e.g., US retail sales, UK milk production) show their forecasting performance against models like SARIMA and Holt-Winters.

arXiv ·
· March 26, 2021