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: 3   Last Post: Mar 14, 2013 12:46 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Greg Heath

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

"srishti" wrote in message <khnfpv$bo4$>...
> 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.


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.