lstmInput2caret: lstmInput2caret

Description Usage Arguments Value

Description

transforms a list of arrays as returned by transformLSTMinput into the correct format for training an LSTM model with caret using getLSTMmodel

Usage

1

Arguments

dat

List of arrays as returned by transformLSTMinput

Value

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.


MarkusBonsch/mxLSTM documentation built on May 28, 2019, 6:40 a.m.