Does patternnet create MLP neural network??

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???

 채택된 답변

Greg Heath
Greg Heath 2018년 1월 4일

0 개 추천

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

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
Greg Heath 2018년 1월 5일
편집: Greg Heath 2018년 1월 5일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2018년 1월 3일

0 개 추천

No, patternnet does not use MLP.
and see the File Exchange for a number of MLP contributions.

댓글 수: 5

Greg Heath
Greg Heath 2018년 1월 4일
Incorrect.
MLP is a topology.
It can be trained by a number of different algorithms.
Greg
Samisam
Samisam 2018년 1월 5일
편집: Walter Roberson 2018년 1월 5일
I Know but my question is about the command According to your answer I can create it using Patternnet can't I ?
Samisam
Samisam 2018년 1월 5일
편집: Samisam 2018년 1월 5일
and if I can I would be thankful if you give me the syntax to create nn with 4 input - 2 hidden layers each one with 10 neuron and 1 neuron in out put layer using patternnet thanks any way and witch command in your opinion is better to train my nn with abc algorithm is it patternnet or newff or what ?????
Greg Heath
Greg Heath 2018년 1월 5일
편집: Walter Roberson 2018년 1월 5일
  1. ONE hidden layer is sufficient.
  2. Use FITNET for curveFITting and regression.
  3. Use PATTERNNET for PATTERN-recognition and classification.
  4. "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.
  5. 10 neurons in a hidden layer is a default that does not have to be specified
  6. 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.
Samisam
Samisam 2018년 1월 5일
thanks

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

질문:

2018년 1월 3일

편집:

2018년 1월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by