Sequence to Sequence - for time series prediction
问题 This bounty has ended . Answers to this question are eligible for a +500 reputation bounty. Bounty grace period ends in 8 hours . Roni Gadot wants to draw more attention to this question. I've tried to build a sequence to sequence model to predict a sensor signal over time based on its first few inputs (see figure below) The model works OK, but I want to 'spice things up' and try to add an attention layer between the two LSTM layers. Model code: def train_model(x_train, y_train, n_units=32, n