Time series forecasting using deep learning with 2 numFeatures
8 views (last 30 days)
israt fatema on 15 Sep 2020
How to use two input features to get 1 output using this example?
This example use 1 numFeatures, for example if i have time series data with 2 features, wind speed and temperature, how can i use this example to forecast weather?
Anshika Chaurasia on 30 Sep 2020
It is my understanding that you have two features as input and want to train the network with this input.
You could change numFeatures = 2 while defining sequenceInputLayer function as shown:
numFeatures = 2; %take 2 features as input
numResponses = 1; %give 1 output
layers = [ ...