Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: neural network
Posted:
Jan 24, 2013 7:44 PM


"Jamaa Ambarak" <jamaa73@yahoo.com> wrote in message <kdpi8b$fhi$1@newscl01ah.mathworks.com>... > "Jamaa Ambarak" <jamaa73@yahoo.com> wrote in message <kdphjo$ctq$1@newscl01ah.mathworks.com>... > > "Greg Heath" <heath@alumni.brown.edu> wrote in message <kdgo47$lcd$1@newscl01ah.mathworks.com>... > > > "Greg Heath" <heath@alumni.brown.edu> wrote in message <kdfl30$t82$1@newscl01ah.mathworks.com>... > > > > > > SNIP > > > > > > > [ net, tr, Y, E ] = train(net,pn,T); % Yn = sim(net,pn); E = TYn > > > > > > 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 2080 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 comp.ai.neuralnets 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.
Greg



