Question about "newp" function in neural network toolbox
Mostrar comentarios más antiguos
net = newp([-2 2;-2 +2],1);
I'm trying to learn about neural network on my own by reading the tutorial there's one part i don't understand about 'newp' function. all the example given, they use [-2 2,-2 +2] i couldn't figure out why this combination is used.
looking at the help file, it says:
Syntax net = newp(p,t,tf,lf) where P - RxQ matrix of Q1 representative input vectors. T - SxQ matrix of Q2 representative target vectors.
isn't RxQ & SxQ suppose to be the vector size? such as 3x2 the example seems to use P as [-2 2;-2 +2] and T as 1
any clarification is deeply appreciated. Thank you.
Respuesta aceptada
Más respuestas (1)
Greg Heath
el 14 de En. de 2015
>> help newp newp Create a perceptron.
Obsoleted in R2010b NNET 7.0. Last used in R2010a NNET 6.0.4.
I suggest you begin with something more relevant. Type doc into the command line and concentrate on learning how to use the regression and classification functions, respectively. Concentrate on
help fitnet % regression and curve-fitting
doc fitnet
help patternnet % classification and pattern-recognition
doc patternnet
You can find practice data from
help nndatasets
doc nndatasets
You can find some examples searching NEWSGROUP and ANSWERS using
greg fitnet
and
greg patternnet.
Once you feel relatively non-apprehensive, investigate the other two main categories:
clustering and time-series.
You can always post to NEWSGROUP or ANSWERS if you get stuck. Also familiarize your self with what the mathworks.com website has to offer
Hope this helps.
Greg
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!