Inputting data into LSTM neural network for prediction

조회 수: 7 (최근 30일)
Marius TROICIU
Marius TROICIU 2022년 11월 9일
답변: Khushboo 2022년 11월 10일
how do I insert/import a series of data from an excel file (energy consumption data) to make a run in the LSTM neural network for consumption prediction. where/how to import? can the data be imported or entered manually? thx

답변 (1개)

Khushboo
Khushboo 2022년 11월 10일
Hello,
You can import data directly from an excel file to MATLAB instead of entering it manually. This can be done as follows:
% [Name of variable in matlab to hold data] = xlsread('File name+extension')
[var1, var2, var3] = xlsread('dataset.xlsx');
You can read more about xlsread here. If you prefer to inport the excel sheet using GUI, you can also refer to this.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by