Description Usage Arguments Value
train the LSTM
1 2 3 4 5 |
datTrain |
list with entries 'data' and 'label'. 'data' is a 3D array of dimension num.features:seq.length:number of observations 'label is a 3D array of dimension num.outputs:seq.length:number of observations |
datEval |
similar to datTrain, but for evaluation instead of training. |
symbol |
mxSymbol as returned by |
batchSize |
see |
num.hidden |
see |
optimizeFullSequence |
see |
num.rounds |
see num.epoch argument in |
optimizer |
see |
learning.rate |
data.table with two columns:
|
initializer |
see |
initialModel |
see |
shuffle |
see |
gammaInit |
see |
epoch.end.callback |
function to be called at the end of each epoch. |
... |
further arguments passed to optimizer |
object of class 'mxLSTM' list: 'model' is the actual symbol, 'arg.params' and 'aux.params' are the parameters, 'log' is the training log, 'optimizerEnv' is an optional environment with optimizer parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.