Description Usage Arguments Value
Removes incomplete observations and split the time series into distinct sets.
1 2 | make.ml.sets(x, y, training.start, training.end, dev.end, test.end,
train.for.test.start, scale = T)
|
x |
: xts of features |
y |
: xts of true classes |
training.start |
: date |
training.end |
: date |
dev.end |
: date |
test.end |
: date. Optional, if missing, no test set is created |
test.train.start |
: date. Optional. Start of the period used to train the model for the test set |
scale: |
inidcates if x should be scaled to mean 0 and sd 1 (based on training sample mean and sd) |
list containing x.train(xts), x.dev(xts), (x.test(xts)), y.train(factor), y.dev(factor), (y.test(factor))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.