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:
knnwtsim_1.1.0.9000.tar.gz
knnwtsim_1.1.0.9000.zip(r-4.7)knnwtsim_1.1.0.9000.zip(r-4.6)knnwtsim_1.1.0.9000.zip(r-4.5)
knnwtsim_1.1.0.9000.tgz(r-4.6-any)knnwtsim_1.1.0.9000.tgz(r-4.5-any)
knnwtsim_1.1.0.9000.tar.gz(r-4.7-any)knnwtsim_1.1.0.9000.tar.gz(r-4.6-any)
knnwtsim_1.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
- boston_911dispatch_weekly - Boston_911dispatch_weekly
- boston_fire_incidents_monthly - Boston_fire_incidents_monthly
- boston_fire_incidents_weekly - Boston_fire_incidents_weekly
- simulation_master_list - Simulation_master_list
forecastingknn-regressionmachine-learningtime-series
Last updated from:90ea40721d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 104 | ||
| source / vignettes | OK | 151 | ||
| linux-release-x86_64 | OK | 108 | ||
| macos-release-arm64 | OK | 154 | ||
| macos-oldrel-arm64 | OK | 183 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 68 | ||
| windows-oldrel | OK | 87 | ||
| wasm-release | OK | 88 |
Exports:knn.forecastknn.forecast.boot.intervalsknn.forecast.randomsearch.tuningNNregSeasonalAbsDissimilaritySpMatrixCalcStMatrixCalcSwMatrixCalcSxMatrixCalcTempAbsDissimilarity
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| boston_911dispatch_weekly | boston_911dispatch_weekly |
| boston_fire_incidents_monthly | boston_fire_incidents_monthly |
| boston_fire_incidents_weekly | boston_fire_incidents_weekly |
| KNN Forecast | knn.forecast |
| KNN Forecast Bootstrap Prediction Intervals | knn.forecast.boot.intervals |
| Tune 'knn.forecast()' Hyperparameters with Random Search | knn.forecast.randomsearch.tuning |
| Estimate a Single Point with K Nearest Neighbors Regression | NNreg |
| Seasonal Absolute Dissimilarity | SeasonalAbsDissimilarity |
| simulation_master_list | simulation_master_list |
| Calculate Seasonal Similarity Matrix | SpMatrixCalc |
| Calculate Temporal Similarity Matrix | StMatrixCalc |
| Calculate Weighted Similarity Matrix | SwMatrixCalc |
| Calculate Similarity Matrix for Exogenous Predictors | SxMatrixCalc |
| Temporal Absolute Dissimilarity | TempAbsDissimilarity |