필터 지우기
필터 지우기

I am trying to replace the objective function of neural network to customised one

조회 수: 2 (최근 30일)
I am trying to estimate the parameters using nueral networks with multiple layres for this equation; y = x1*x2*(alpha1) + x3*(alpha2), where x1, x2 and x3 are the inputs and y is the output. The neural network architecture is as follow, three inputs (x1,x2,x3) and two outputs (alpha1,alpha2) with multiple hidden layers. The objetive function will be as follow: e = [y - (x1*x2*(alpha1) + x3*(alpha2))], however, I can't change the perform.Fnc in matlab to customized one. I get the following error [performFcn" must be '' or the name of a network performance function], How can I solve this problem ? How can I use the estimated outputs from the NN as parameters inside the objective function? How to change the net.perform.Fcn from built-in ones to the one that I created ?

답변 (1개)

Matt J
Matt J 2023년 1월 23일
  댓글 수: 5
Baker Shehadeh
Baker Shehadeh 2023년 1월 26일
Thank you. It's more relevant than the previous one, however, it didn't solve my problem since I don't want to create the custom fucntion based on specific package and I couldn't tweak the existing files to what I want. Can I create my own package and use it for my own specific case?
Matt J
Matt J 2023년 1월 26일
No idea. Can you not migrate to the framework of the Deep Learning Toolbox for your NN work? It seems to be much more amenable to the kind of customization that you're after.

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

Community Treasure Hunt

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

Start Hunting!

Translated by