Neural Networks, Custom performance function

1 view (last 30 days)
Kristoffer Uppheim
Kristoffer Uppheim on 24 Mar 2011
Commented: Omer on 30 Jan 2014
Hello,
How do you implement a neural network with a user defined performance function?
Say I have created a function AsymPerformance.m :
------
funtion ret = AsymPerformance(y,yHatFromNN)
ret = (y > yHatFromNN) * abs(yHatFromNN - y)' .* 2 + (y < yhatFromNN) * abs(yHatFromNN - y);
end
-------
How do I train my NN to optimise minimising this as a measure of performance?
Please try to keep it simple, new to NN..
Thank you in advance!
Kris

Answers (1)

Kristoffer Uppheim
Kristoffer Uppheim on 24 Mar 2011
Found the answer:
http://www.mathworks.com/support/solutions/en/data/1-2VFDSE/index.html?product=NN&solution=1-2VFDSE
Sry for double posting..
  1 Comment
Omer
Omer on 30 Jan 2014
It is little complicated do understand. There is no easy way?

Sign in to comment.

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!