Neural Networks, Custom performance function

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

답변 (1개)

Kristoffer Uppheim
Kristoffer Uppheim 2011년 3월 24일

0 개 추천

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

Omer
Omer 2014년 1월 30일
It is little complicated do understand. There is no easy way?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2011년 3월 24일

댓글:

2014년 1월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by