Description Usage Arguments Value
View source: R/forecasting_engine.R
Similarity
1 2 3 4 5 6 7 8 9 10 11 12 13 | Similarity(
y,
fh,
LoadData,
path,
nts = 100,
Preprocessing = 1,
Dist_type = 3,
gamma = 0.05,
scaling = c("sdiff", "snaive"),
clustering = 0,
FullOutput = FALSE
)
|
y |
"vector" the observation series |
fh |
number of forecasting horizon |
LoadData |
|
nts |
number of the most similar series |
Preprocessing |
remove seasonality, smooth the series and scale the target and the reference series to the same magnitude |
Dist_type |
number of forecasting benchmarks |
gamma |
calibrated significance level quantiles |
scaling |
scaling method: using different scaling or not |
clustering |
number of sample categories in kmeans |
FullOutput |
A list containing calculation of similarity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.