Questions tagged [lstm-stateful]

Tag refers to stateful long short-term memory (LSTM) cells in a neural network (i.e. cells that remember their state for the next training batch)

Stateful LSTMs will use the last state for each sample at index i in a training batch as initial state for the sample of index i in the following batch.

63 questions
-1
votes
1 answer

Does an LSTM model use trend in features?

Does an LSTM take into account a trend in a feature? Or does it only see trends from the previous output (Y predicted)? To illustrate, imagine we have a trend in feature A. In our problem, we know that in the real world Y tends to decrease as A…
EWhite
  • 1
-1
votes
1 answer

Let me understand the model

I am dealing with a problem to predict electrical power output using LSTM in R. I found a very suitable code for my data here. But the problem is I do not understand what is meant by Units Input_shape layer_dropout layer_dropout loss adam below is…
-1
votes
1 answer

Why Keras MAPE metric is exploding during training but MSE loss is not?

I implemented an LSTM with attention in Keras to reproduce this paper. The strange behavior is simple: I have an MSE loss function and an MAPE and MAE as metrics. During training the MAPE is exploding but the MSE and MAE seem to train…
bcsta
  • 1,963
  • 3
  • 22
  • 61
1 2 3 4
5