Create LSTM model object
create_lstm_model(max_words, embedding_dim, maxlen, lstm_units)
max_words | Maximum number of words to consider using word frequency measure. |
---|---|
embedding_dim | Output dimension of the embedding layer. |
maxlen | Maximum length of a sequence. |
lstm_units | Number of units i.e. output dimension of lstm layer. |
LSTM model object