How to train a Matlab Neural Network using matrices as inputs?

I am making 8 x 8 tiles of Images and I want to train a RBF Neural Network in Matlab using those tiles as inputs. I understand that I can convert the matrix into a vector and use it. But is there a way to train them as matrices? (to preserve the locality) Or is there any other technique to solve this problem?

1 Kommentar

in MATLAB, if you write y=1.. is also a MATRIX.. you can also train them as matrices

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Greg Heath
Greg Heath am 6 Jan. 2016

0 Stimmen

Standard procedure:
Each input and output must be a column vector. If your original input is an image, just use the column operator x = image(:). However, if you wish to consider several images, each image will be a column in the network's input matrix.
No biggie
Hope this helps.
Thank you for formally accepting my answer
Greg

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by