How can change the performance function in neural network ?
Show older comments
I have Matlab versions R2013a and R2012b. I want to customize the performance function for neural network online training using 'adapt' function. The default performance function for both adapt/train functions is 'mse'. How can I change this function for adapt function.
What I tried so far: I tried changing the 'performFcn' to a .m file I wrote. Using the standard template of mse.m. I wrote all the necessary functions and the dcos function for gradient error function as well. But everything gave random errors - which mostly I traced back to the problem that latest versions of Matlab dont allow overriding 'mse' for adapt function. Is it true ?
Irrespective of that - how do I customize the performance function for neural network ?
Thanks
Anush
4 Comments
Greg Heath
on 5 Dec 2013
What performance function do you want to implement?
What nndataset do you want to use for an example?
help nndatasets
Anush
on 6 Dec 2013
Anush
on 27 Dec 2013
Giorgio
on 27 Mar 2015
Hi Anush, Did you solve your problem ?? i'm working on MATLAB R2014b and i'm stuck to your same problem.
Thanks
Accepted Answer
More Answers (0)
Categories
Find more on Sequence and Numeric Feature Data Workflows 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!