Custom NN in matlab

Hello, I'm quite new to matlab, I need to create my own custom neural network using m-file with pre-defined weights. Problem is, that I need 5 inputs and 5 outputs, when using newff(parameters) always get 2 outputs and so many inputs what is the size of input data vector. Please help me with this, thx!

 Respuesta aceptada

Greg Heath
Greg Heath el 25 de Abr. de 2012

0 votos

If you have N I/O pairs with I-dimensional input vectors and corresponding O-dimensional output target vectors, the size of the input and target matrices are
[ I N ] = size(x) %input
[O N ] = size(t) % target
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

Community Treasure Hunt

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

Start Hunting!

Translated by