Time series forecasting using deep learning with 2 numFeatures
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Anshika Chaurasia
2020년 9월 30일
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];
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!