Crandore Hub

knnwtsim

K Nearest Neighbor Forecasting with a Tailored Similarity Metric

Functions to implement K Nearest Neighbor forecasting using a weighted similarity metric tailored to the problem of forecasting univariate time series where recent observations, seasonal patterns, and exogenous predictors are all relevant in predicting future observations of the series in question. For more information on the formulation of this similarity metric please see Trupiano (2021) <arXiv:2112.06266>.

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 knnwtsim_1.0.0.tar.gz 236.8 KiB
1.0.0 rolling linux/noble R-4.5 knnwtsim_1.0.0.tar.gz 236.7 KiB
1.0.0 rolling source/ R- knnwtsim_1.0.0.tar.gz 201.7 KiB
1.0.0 latest linux/jammy R-4.5 knnwtsim_1.0.0.tar.gz 236.8 KiB
1.0.0 latest linux/noble R-4.5 knnwtsim_1.0.0.tar.gz 236.7 KiB
1.0.0 latest source/ R- knnwtsim_1.0.0.tar.gz 201.7 KiB
1.0.0 2026-04-26 source/ R- knnwtsim_1.0.0.tar.gz 201.7 KiB
1.0.0 2026-04-23 source/ R- knnwtsim_1.0.0.tar.gz 201.7 KiB
1.0.0 2026-04-09 windows/windows R-4.5 knnwtsim_1.0.0.zip 263.0 KiB
1.0.0 2025-04-20 source/ R- knnwtsim_1.0.0.tar.gz 201.7 KiB

Dependencies (latest)

Imports

Suggests