Time series forecasting using deep learning with 2 numFeatures
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
israt fatema
am 15 Sep. 2020
Kommentiert: israt fatema
am 12 Feb. 2021
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?
0 Kommentare
Akzeptierte Antwort
Anshika Chaurasia
am 30 Sep. 2020
Hi Israt,
It is my understanding that you have two features as input and want to train the network with this input.
numFeatures = 2; %take 2 features as input
numResponses = 1; %give 1 output
layers = [ ...
sequenceInputLayer(numFeatures)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(numResponses)
regressionLayer];
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!