I have multiple time series in input and I want to properly build an LSTM model.
I'm really confused about how to choose the parameters. My code:
model.add(keras.layers.LSTM(hidden_nodes, input_shape=(window, num_features), consume_less="mem"))
model.add(Dropout(0.2))
model.add(keras.layers.Dense(num_features, activation='sigmoid'))
optimizer = keras.optimizers.SGD(lr=learning_rate, decay=1e-6, momentum=0.9, nesterov=True)
I want to understand, for each line, the meaning of the input parameters and how those have to be choosed.
Actually I don't have any problems with the code but I need to understand clearly the parameters in order to obtain better results.
Thanks a lot!