Thread Subject: Neural Networks and Genetic Algorithm

Subject: Neural Networks and Genetic Algorithm

From: zaheer ahmad

Date: 11 Feb, 2009 18:16:02

Message: 1 of 3

Hi All of You
How to optimize Feed Forward Neural Network output using Genetic Algorithm instead of backpropagation Algorithm. i.e. to used GA for weights optimization.
A small Matlab code will help me alot
thanks

Subject: Neural Networks and Genetic Algorithm

From: Akmal Aulia

Date: 4 Mar, 2009 10:59:02

Message: 2 of 3

"zaheer ahmad" <ahmad.zaheer@yah00000.com> wrote in message <gmv4l2$7ib$1@fred.mathworks.com>...
> Hi All of You
> How to optimize Feed Forward Neural Network output using Genetic Algorithm instead of backpropagation Algorithm. i.e. to used GA for weights optimization.
> A small Matlab code will help me alot
> thanks

That should be simple.

If you're dealing with a backprop NN with 1 hidden layer consisting 3 hidden nodes, and 2 input, then you have some (2x3)+(3x1) = 9 connection weights. Using gatool, you can specify in the Problem section of the GUI, that you have 9 variables. You can lower and/or upper bounds of these weights as you wish.

And then, gatool will do the rest.

Good luck!

Subject: Neural Networks and Genetic Algorithm

From: Greg Heath

Date: 10 Mar, 2009 15:35:06

Message: 3 of 3

On Mar 4, 6:59=A0am, "Akmal Aulia" <akmalt...@yahoo.com> wrote:
> "zaheer ahmad" <ahmad.zah...@yah00000.com> wrote in message <gmv4l2$7i...=
@fred.mathworks.com>...
> > Hi All of You
> > How to optimize Feed ForwardNeuralNetwork output using Genetic Algorith=
m instead of backpropagation Algorithm. i.e. to used GA for weights optimiz=
ation.
> > A small Matlab code will help me alot
> > thanks
>
> That should be simple.
>
> If you're dealing with a backprop NN with 1 hidden layer consisting 3 hid=
den nodes, and 2 input, then you have some (2x3)+(3x1) =3D 9 connection wei=
ghts. =A0Using gatool, you can specify in the Problem section of the GUI, t=
hat you have 9 variables. =A0You can lower and/or upper bounds of these wei=
ghts as you wish.
>
> And then, gatool will do the rest.

The number of weights is

Nw =3D (2+1)*3 + (3+1)*1 =3D 13

Hope this helps.

Greg

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
neural network Akmal Aulia 4 Mar, 2009 06:00:06
genetic algorithm Akmal Aulia 4 Mar, 2009 06:00:05
optimization zaheer ahmad 11 Feb, 2009 13:20:19
backpropagation zaheer ahmad 11 Feb, 2009 13:20:19
feed forward zaheer ahmad 11 Feb, 2009 13:20:19
genetic algorithm zaheer ahmad 11 Feb, 2009 13:20:19
neural network zaheer ahmad 11 Feb, 2009 13:20:19
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com