Description Usage Arguments Value
View source: R/ts_combination.R
This function splits a time series into validation sets with training and test data; the output can be used to backtest models and/or select/combine models based on how they perfrom on this sets.
1 2 3 4 5 6 7 8 9 | validation_split(
y,
val_h,
sov_only = F,
val_min_years = 4,
cv_min_years = 5,
cv_max_samples = 3,
...
)
|
y |
Time series onject. |
val_h |
Horizon to be used for validation. |
sov_only |
Flag, whether only single-origin validation should be considered. Optional, default |
val_min_years |
Minimum years required to conduct single origin validation. Optional, default |
cv_min_years |
Minimum years required to conduct cross-origin validation. Optional, default |
cv_max_samples |
Maximum samples that should be considered during cross-validation, i.e. 3 indicates the algorithm validates from 3 origins. Optional, default |
... |
not used |
list of validation sets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.