Description Usage Arguments Value Examples
Function to create time slice indices. Based on createTimeSlices from Caret package
1 2 |
df |
data.frame to sample from |
width |
number of records per training sample |
horizon |
number of recoreds per validation sample |
skip |
number of samples skipped. default is 0 |
fixed_width |
logical option to keep all training samples the same width. default is TRUE |
label |
string label for samples. default is 'slice' |
list with train and validation samples
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.