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!

 Risposta accettata

Greg Heath
Greg Heath il 25 Apr 2012

0 voti

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

Più risposte (0)

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by