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 comentario

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

Iniciar sesión para comentar.

 Respuesta aceptada

Greg Heath
Greg Heath el 6 de En. de 2016
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

Más respuestas (0)

Categorías

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

Preguntada:

el 5 de En. de 2016

Respondida:

el 6 de En. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by