Description Usage Arguments Details Value
transforms a data.frame input into the correct format for the LSTM model
1 | transformLSTMinput(dat, targetColumn, seq.length, seq.freq = seq.length)
|
dat |
data.frame with variables. Is assumed to be a time-series without gaps. Each column corresponds to one variable |
targetColumn |
Name of the column(s) that represents the regression target. All other columns are considered as inputs |
seq.length |
sequence length. |
seq.freq |
frequency of sequence starts. Defaults to sequence length. |
The last sequence is discarded if it is not complete. Sequences containing missing values are discarded.
a list of two: 'x' is an array with input variables as required for mxLSTM
.
'y' is an array of target values as required for mxLSTM
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.