Does patternnet create MLP neural network??
3 views (last 30 days)
Show older comments
I want to create a NN to classify Iris Data set with a specific algorithm like (ABC) this NN should be MLP-NN I see a lot of questions and their answer but I can't really consider if patternnet creates MLP-nn or not can any body ensure me???
0 Comments
Accepted Answer
Greg Heath
on 4 Jan 2018
Yes. The configuration generated by the call to patternnet is a
Multi-layer-perceptron
https://en.wikipedia.org/wiki/Perceptron
Thank you for formally accepting my answer
Greg
2 Comments
Walter Roberson
on 4 Jan 2018
The documentation at https://www.mathworks.com/help/nnet/ref/perceptron.html specifically says that patternnet does nonlinear separation and that perceptrons never do.
Greg Heath
on 5 Jan 2018
Edited: Greg Heath
on 5 Jan 2018
Quite a bit of confusion occurs because there is a lack of understanding concerning the term "perceptron" because
The single term perceptron DOES NOT IMPLY HIDDEN LAYERS.
The acronym MLP implies a multilayer perceptron.
Therefore one has to read carefully to be sure which one the referral concerns.
The default configurations of fitnet and patternet have a single hidden layer and are, therefore, MLPs. HOWEVER, the default of 10 can be overwritten to 0. Then the configuration becomes a perceptron.
Hope this helps. (Yeah, I know!)
Greg
More Answers (1)
Walter Roberson
on 3 Jan 2018
No, patternnet does not use MLP.
and see the File Exchange for a number of MLP contributions.
5 Comments
Greg Heath
on 5 Jan 2018
Edited: Walter Roberson
on 5 Jan 2018
- ONE hidden layer is sufficient.
- Use FITNET for curveFITting and regression.
- Use PATTERNNET for PATTERN-recognition and classification.
- "F"eed"F"orward net new"ff" and special cases new"fit" for curve"FIT"ting and new"pr" for "P"attern "R"ecognition are obsolete.
- 10 neurons in a hidden layer is a default that does not have to be specified
- The basic code for each is given in the help and doc documentation:
help fitnet
doc fitnet
and similarly for patternnet.
In addition, I have posted zillions of examples, including tutorials, in both the NEWSGROUP and ANSWERS.
See Also
Categories
Find more on Define Shallow Neural Network Architectures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!