predictLSTMmodel: predictLSTMmodel

Description Usage Arguments Details Value See Also

Description

get predictions for an LSTM recurrent network

Usage

1
predictLSTMmodel(model, dat, fullSequence = TRUE)

Arguments

model

LSTM model as returned by mxLSTM or fitLSTMmodel

dat

input data as provided by transformLSTMinput in the 'x' element of the list.

fullSequence

Boolean. If FALSE, only the last predicted element of a sequence is returned. If TRUE, a prediction for each step in the sequence is returned. If the model was trained with optimizeFullSequence = FALSE, this will be set to FALSE with a warning.

Details

the sequence length is inferred from the model argument.

Value

data.frame with predictions.

See Also

mxLSTM, fitLSTMmodel, getLSTMmodel


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