Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to build Multi Layer Perceptron in Matlab not Backpropagation

560 views
Skip to first unread message

albert carero

unread,
Apr 25, 2015, 5:07:27 PM4/25/15
to
Hello i want to ask how to build Multi Layer Perceptron (MLP) in Matlab

so far i know about newff or feedforwardnet, but i doubt it, if if's Neural Network MLP or Backpropagation (BP). so my question are

1. how to build MLP in matlab?
2. in default what type of neural network newff and feedforwardnet is? is it MLP or BP neuralnetwork?
3. Can Matlab build RBF neural network? since as far as i know, it's not possible and i never see any help, but if my thought wrong please tell me, how to build it

If someone knows answer for my question all or only a part of it please let me know, it's great help for me. Thank you very much :)

Greg Heath

unread,
Apr 26, 2015, 1:38:25 AM4/26/15
to
"albert carero" wrote in message <mhgvm7$ccf$1...@newscl01ah.mathworks.com>...
The obsolete functions

NEWFIT, NEWPR, NEWFF

and the current functions

FITNET, PATTERNNET AND FEEDFORWARDNET

are all MultiLayerPerceptrons that are trained using BackPropagation.

Commandline documentation and examples are readily obtained by using one or both of the commands HELP and DOC. For example

help fitnet % for regression and curve-fitting

and

doc patternnet % for classification and pattern-recognition

Hope this helps.

Greg

albert carero

unread,
Apr 26, 2015, 7:37:26 AM4/26/15
to
"Greg Heath" <he...@alumni.brown.edu> wrote in message <mhhtkd$ha3$1...@newscl01ah.mathworks.com>...

>
> The obsolete functions
>
> NEWFIT, NEWPR, NEWFF
>
> and the current functions
>
> FITNET, PATTERNNET AND FEEDFORWARDNET
>
> are all MultiLayerPerceptrons that are trained using BackPropagation.
>
> Commandline documentation and examples are readily obtained by using one or both of the commands HELP and DOC. For example
>
> help fitnet % for regression and curve-fitting
>
> and
>
> doc patternnet % for classification and pattern-recognition
>
> Hope this helps.
>
> Greg

thank you for your answer sir, but i rather confused about BackPropagation and MultiLayerPerceptrons thing. in first place there is BackPropagation neural network or not ? or BackPropagation is just algorithm, and using MultiLayerPerceptrons as it's neural network?? since i read some article and journal that BackPropagation and MultiLayerPerceptrons both are neural network, but when i try to search how to coding BackPropagation it's always related to MultiLayerPerceptrons . so my main question is if the default using newff or feedforwardnet is to build MultiLayerPerceptrons neural network, then can i ask some example how to build BP neural network in matlab ?

Greg Heath

unread,
Apr 26, 2015, 8:40:27 PM4/26/15
to
"albert carero" wrote in message <mhiilh$33q$1...@newscl01ah.mathworks.com>...

> thank you for your answer sir, but i rather confused about BackPropagation and MultiLayerPerceptrons thing. in first place there is BackPropagation neural network or not ? or BackPropagation is just algorithm, and using MultiLayerPerceptrons as it's neural network?? since i read some article and journal that BackPropagation and MultiLayerPerceptrons both are neural network, but when i try to search how to coding BackPropagation it's always related to MultiLayerPerceptrons . so my main question is if the default using newff or feedforwardnet is to build MultiLayerPerceptrons neural network, then can i ask some example how to build BP neural network in matlab ?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

There are many types of neural networks.

MultiLayerPerceptrons (MLPs) are neural networks with a multiple parallel
node-layer topology.

Backpropagation (BP) is an algorithm designed for training neural networks
with multiple node-layer topologies.

There is no such thing as a Backpropagation Network.

The obsolete (but still available) functions

NEWFIT, NEWPR, NEWFF

and the current functions

FITNET, PATTERNNET AND FEEDFORWARDNET

are all MLPs that, in the default mode, are trained using BP.

An alternative time-consuming training approach is to use a
genetic algorithm (e.g., GA).

NEWFIT (regression and curve-fitting) and NEWPR (classification
and pattern-recognition) are specialized algorithms that call
NEWFF.

FITNET (regression and curve-fitting) and PATTERNNET
(classification and pattern-recognition) are specialized algorithms
that call FEEDFORWARDNET.

The basic difference between FEEDFORWARDNET and FITNET
is that the latter yields an additional output: a plot of the output
vs target fit.

The basic differences between FEEDFORWARDNET and
PATTERNNET in the default configurations include

1. Training algorithm: TRAINLM vs TRAINSCG
2. Performance function: MSE vs CROSSENTROPY
3. Output Transfer function: PURELIN vs SOFTMAX
4. Plot Functions

All function properties can be obtained by eliminating the ending semicolon
in the creation statement. For example:

net = patternnet

Hope this helps.

Greg

Greg Heath

unread,
Apr 26, 2015, 8:41:27 PM4/26/15
to
"albert carero" wrote in message <mhiilh$33q$1...@newscl01ah.mathworks.com>...

Greg Heath

unread,
May 1, 2015, 12:35:44 PM5/1/15
to
"Greg Heath" <he...@alumni.brown.edu> wrote in message <mhk0jj$eeb$1...@newscl01ah.mathworks.com>...
Go back and reread my post about the nonexistence of something called a
BP network.
0 new messages