MATLAB Answers


Regression using LSTM in Matlab2018a

Asked by NM
on 18 May 2018
Latest activity Commented on by NM
on 12 Jun 2018
I am using MATLAB 2018a, I want to know how I can modify the MATLAB example for "sequence to sequence regression using deep learning" to use it with "double" type predictor data array Xtrain of size 823x9 and "double" type response data array Ytrain of sixe 1x823.
I couldn't translate the code to be used with my load data. My goal is to forecast load using this example.


What error are you getting? You realize you need to transpose your Ytrain vector of responses, I assume.
Thank you Bernhard, I have figured it out. My code works fine now

Sign in to comment.

0 Answers