Package: knnwtsim 1.1.0.9000

Matthew Trupiano

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>.

Authors:Matthew Trupiano

knnwtsim_1.1.0.9000.tar.gz
knnwtsim_1.1.0.9000.zip(r-4.5)knnwtsim_1.1.0.9000.zip(r-4.4)knnwtsim_1.1.0.9000.zip(r-4.3)
knnwtsim_1.1.0.9000.tgz(r-4.5-any)knnwtsim_1.1.0.9000.tgz(r-4.4-any)knnwtsim_1.1.0.9000.tgz(r-4.3-any)
knnwtsim_1.1.0.9000.tar.gz(r-4.5-noble)knnwtsim_1.1.0.9000.tar.gz(r-4.4-noble)
knnwtsim_1.1.0.9000.tgz(r-4.4-emscripten)knnwtsim_1.1.0.9000.tgz(r-4.3-emscripten)
knnwtsim.pdf |knnwtsim.html
knnwtsim/json (API)
NEWS

# Install 'knnwtsim' in R:
install.packages('knnwtsim', repos = c('https://mtrupiano1.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mtrupiano1/knnwtsim/issues

Datasets:

On CRAN:

Conda:

forecastingknn-regressionmachine-learningtime-series

2.70 score 1 stars 2 scripts 184 downloads 10 exports 0 dependencies

Last updated 3 years agofrom:90ea40721d. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 04 2025
R-4.5-winOKMar 04 2025
R-4.5-macOKMar 04 2025
R-4.5-linuxOKMar 04 2025
R-4.4-winOKMar 04 2025
R-4.4-macOKMar 04 2025
R-4.4-linuxOKMar 04 2025
R-4.3-winOKMar 04 2025
R-4.3-macOKMar 04 2025

Exports:knn.forecastknn.forecast.boot.intervalsknn.forecast.randomsearch.tuningNNregSeasonalAbsDissimilaritySpMatrixCalcStMatrixCalcSwMatrixCalcSxMatrixCalcTempAbsDissimilarity

Dependencies: