'LSTM time-series prediction separating dependent variable and independent variables
Most of the LSTM tutorials I have seen are using "dependent variable" in the "independent variable" as well for the LSTM model.
For instance, I want to predict pollution. The other variables such as dew, temp, press, wnd_dir, wnd_spd, snow, rain are independent variables of pollution. But from this tutorial, they are using the "pollution" variable as one of their "independent variables" for LSTM.
How can we adjust the code? so we can only predict using the other independent variables without the "pollution" variable.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
