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



Re: neural network
Posted:
Mar 12, 2013 9:00 PM


"srishti" wrote in message <khnfpv$bo4$1@newscl01ah.mathworks.com>... > hello, > I am using following code for pattern recognition in neural network,but each time when I run this program accuracy gets changed, can anybody suggest me how to get a constant accuracy? > x=in; > t=tar; > net = patternnet(10) > net = train(net,x,t); > view(net) > y = net(x); > perf = perform(net,t,y)
By default,
1. data is randomly divided into training, validation and test sets according to the ratio 0.7/0.15/0.15 2. initial weights are randomly obtained from a subprogram
The easiest solution is to intialize the RNG at the beginning of the program.
Hope this helps.
Greg



