Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!m24g2000vbp.googlegroups.com!not-for-mail
From: Greg Heath <heath@alumni.brown.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Neural Networks and Genetic Algorithm
Date: Tue, 10 Mar 2009 08:35:06 -0700 (PDT)
Organization: http://groups.google.com
Lines: 27
Message-ID: <2c5811e8-55bc-4951-8247-2e189fbcd204@m24g2000vbp.googlegroups.com>
References: <gmv4l2$7ib$1@fred.mathworks.com> <golmtm$1u3$1@fred.mathworks.com>
NNTP-Posting-Host: 68.39.98.10
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1236699306 9635 127.0.0.1 (10 Mar 2009 15:35:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 10 Mar 2009 15:35:06 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m24g2000vbp.googlegroups.com; posting-host=68.39.98.10; 
	posting-account=mUealwkAAACvQrLWvunjg50tRAnsNtJR
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; 
	Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; 
	.NET CLR 2.0.50727; .NET CLR 3.0.04506.30; Seekmo 10.0.341.0),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:523766


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