I came across this excellent question and answer by Adam Sypniewski. Here method of using RNNs (e.g. LSTMs and GRUs) for predicting time series where the dependent variable depends on several independent variables. Just wondering, is anyone aware of some Keras code for this?
Asked
Active
Viewed 6,512 times
3 Answers
2
Please go through this tutorial:
https://machinelearningmastery.com/multivariate-time-series-forecasting-lstms-keras/
The author focuses on LSTM-RNNs with explicit instructions on how to re-shape your dataset into the format that Keras requires, which can be VERY tricky if not properly understood.

pcko1
- 3,940
- 2
- 15
- 29
0
See . Multiple Input and Output Models
https://machinelearningmastery.com/keras-functional-api-deep-learning/

thistleknot
- 121
- 1
- 5