Multi-Step Prediction using neural networks (ntstool)

May I know how can i change the following: Ai2 = mat2cell([zeros(10,2); Ai2],[10 1],ones(1,2));
if my delays are 4 and hidden layers are 10. My input data is 9X96 and target is 1X96
Thank You

1 comentario

Ai2 = mat2cell([zeros(H,d); Ai2],[H 1],ones(1,d));
H=10, d =4;

Iniciar sesión para comentar.

 Respuesta aceptada

Greg Heath
Greg Heath el 2 de Mzo. de 2015
You have Ai2 on both sides of the equation.
Therefore, you will get an error when Ai2 is not defined previously.
Why don't you just create the matrix version ai2. Then
Ai2 = mat2cell(ai2)
or
Ai2 = {ai2}
Hope this helps.
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

WT
el 1 de Mzo. de 2015

Comentada:

el 29 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by