I am following the example about NARX (autogressive nerual network with external inputs)
What I want in my study case is that the external input need to be specified as a matrix. The manual already showed a case to address multiple external variables(which is a vector). The question is how I can let the input be a matrix?
Thanks a lot!!

 Réponse acceptée

Greg Heath
Greg Heath le 1 Mai 2014

0 votes

Inputs are assumed to be matrices containing N I-dimensional vectors corresponding to N O-dimensional target/output vectors.
[ I N ] = size(input)
[O N ] = size(target)
If you have an rxc dimensional matrix, A, that is supposed to be a single input
input = A(:)
I = r x c
N = 1
Hope this helps.
Thank you for formally accepting my answer
Greg

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by