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!

 Réponse acceptée

Greg Heath
Greg Heath le 25 Avr 2012

0 votes

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

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