Write your own Performance criteria in Neural Network?

Is it possible to write your own stopping criteria in a Neural Network? How should this be done?
I want to use the Mean Squared Error method, but on data not known by the Network.
e.g I use the following divideFcn, so every data will be training data
net.divideFcn = 'dividenull'; %Only training data
(or 'dividetrain' in more recent versions of matlab)
How can I add my personal stopping criteria on an other data set?

 Accepted Answer

See my expression for MSEgoal in
Additional details can be found by searching for MSEgoal in both the Newsgroup and Answers.
Hope this helps.
Greg

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!