Regression using LSTM in Matlab2018a

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.

4 Comments

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
I have same problem , what do you do for answer ?

Sign in to comment.

Answers (0)

Asked:

NM
on 18 May 2018

Edited:

on 9 Jul 2019

Community Treasure Hunt

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

Start Hunting!