How can I modify objective function in "trainingOptions" to suit a particular unusual problem

조회 수: 2 (최근 30일)
I'm trying to solve free-boundary problem with neural network and I find that Neural Network Toolbox is very helpful in constructing network but the problem is I don't know how to input my particular training function which is of the form (DE(LHS)+upper boundary +lower boundary)^2 instead of typical 'mse' e.g.(out-target)^2.

답변 (1개)

Greg Heath
Greg Heath 2018년 12월 19일
I think you are confused.
1. Your input and target define your function
2. In general, the standard net with tansig hidden nodes and linear output nodes will suffice.
3. However, if there is a physical or mathematical reason that the output has upper and/or lower bounds, then you can improve your solution by using logsig or tansig in the output layer
Hope this helps
Thank you for formally accepting my answer
Greg

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by