Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!g20g2000vba.googlegroups.com!not-for-mail
From: Greg <heath@alumni.brown.edu>
Newsgroups: comp.ai.neural-nets,comp.soft-sys.matlab
Subject: Re: Mapminmax in SIMULINK
Date: Fri, 26 Jun 2009 12:13:18 -0700 (PDT)
Organization: http://groups.google.com
Lines: 34
Message-ID: <5bb591c9-c3c0-4c68-acf3-62e54b985b9b@g20g2000vba.googlegroups.com>
References: <f20afe6b-910e-42b9-be35-8677394c0907@d34g2000prb.googlegroups.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 1246043599 15481 127.0.0.1 (26 Jun 2009 19:13:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 26 Jun 2009 19:13:19 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: g20g2000vba.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; Comcast 
	Install 1.0; GTB6; 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.ai.neural-nets:80693 comp.soft-sys.matlab:550974


On Jun 26, 7:27 am, dedy <masded...@gmail.com> wrote:
> I have a system with PI controller. I want to replace this controller
> with neural network (NN). So, the input of PI controller i use as
> input of NN. The output of PI controller i use as target of NN.
>
> I am using the premnmx function to preprocess the training data before
> the neural network can be trained:
>
> [pn,minp,maxp,tn,mint,maxt]=premnmx(P,T)
> net=train (net,pn,tn);
>
> then to transform the neural network, i use
> gensim (net,Ts)
>
> I use the result of gensim to replace the old controller in simulink.
> But why the output of NN controller doesn't sama as target (when it
> trained). The result of NN controller worse than PI controller..
>
> is it need processing block (like mapminmax) before processed by NN
> controller in simulink ?
> if its need block, how to use it with NN in simulink ?
> please help me.

How did you train, validate and test the net before
incorporating into simulink?

Size of training, validation and test sets?
Number of hidden nodes?

Size of training, validation and test set errors?

Hope this helps.

Greg