The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: neural network
Replies: 2   Last Post: Jan 24, 2013 7:44 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Greg Heath

Posts: 6,387
Registered: 12/7/04
Re: neural network
Posted: Jan 24, 2013 7:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Jamaa Ambarak" <> wrote in message <kdpi8b$fhi$>...
> "Jamaa Ambarak" <> wrote in message <kdphjo$ctq$>...
> > "Greg Heath" <> wrote in message <kdgo47$lcd$>...
> > > "Greg Heath" <> wrote in message <kdfl30$t82$>...
> > >
> > > ---SNIP
> > >

> > > > [ net, tr, Y, E ] = train(net,pn,T); % Yn = sim(net,pn); E = T-Yn
> > >
> > > Correction: If you do not normalize T, remove the subscript "n" from Y.
> > >
> > > Greg

> > please Greg tell me
> > first I have tried to train the neural without normalize but the results are very bad because the data should be normalize (speed velocity is 20-80 mile per hours and the other big also ). I did not normalize T , but how can I convert y back to the original scale using
> > y1 =mapminmax('reverse',y,ts);

Just use whatever is in the documentation.

help mapminmax

doc mapminmax

> also how can I validate the training and testing

See for the NN concepts of validation and testing.

data = design + test
design = train + validate

Training set estimates weights

Validation set is used repeatedly with the training set to determine all other learning parameters (especially the stopping epoch), and to choose the best out of multiple designs.

Test set is used on 'best' design to obtain an unbiased estimate of performance on nondesign data.

If the test set performance is unsatisfactory, the data must be divided again before
designing new candidates.

Hope this helps.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.