![]() |
Say I wanted to build an LSTM architecture like the below. My input is a matrix of size [n * 10] where n is the rows (each row represents an embedded vector) and 10 is the columns. My output should be a prediction of an embedded vector of size [1 *10], this data is available from a “future” date. Would the following code do what I am looking for? model3.add(Embedding(10,10)) model3.add(LSTM(10,return_sequences=True,return_state=True,)) model3.add(Dense(1,activation=’sigmoid’)) Thanks in advance! submitted by /u/dsaldonid |
Categories
Building Sequential LSTM
