How to replace the default MSE performance function in train function of deep learning with other performance function I can design?

조회 수: 3 (최근 30일)
Hi,
When I use the "train" function for a deep learning net training, the default performance function is MSE. Can I replace it with other performance functions I can manually design?
Long

답변 (1개)

Faiz Gouri
Faiz Gouri 2017년 2월 28일
"net.performFcn" property of Neural Network Object defines the function used to measure the network's performance. The performance function is used to calculate network performance during training whenever train is called.
[net,tr] = train(NET,P,T,Pi,Ai) For a list of functions, type help nnperformance.
  댓글 수: 1
Long Bao
Long Bao 2017년 2월 28일
Hi, Faiz,
Thank you so much! However,there are still only limited options for performance functions. And, I still do not know how to design my own new one. Can you show an example? Thanks a lot.

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

Community Treasure Hunt

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

Start Hunting!

Translated by