Description Usage Arguments Value
transforms a list of arrays as returned by transformLSTMinput
into the correct format for training an LSTM model with caret using getLSTMmodel
1 | lstmInput2caret(dat)
|
dat |
List of arrays as returned by |
a data.frame as required by caret's train
with getLSTMmodel
.
Each row is one event. The columns contain x and y variables for the full sequence with names:
x1_seq1, x2_seq1, ..., xN_seq1, x1_seq2, ..., xN_seq2, x1_seqM, ..., xN_seqM, y1_seq1Y, y2_seq1Y ..., y1_seqMY, yK_seqMY.
Additionally, y1_seqMY into the 'dummy' variable for the left
hand side of the caret formula and serves as the primary target.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.