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

1 Ansicht (letzte 30 Tage)
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.

Antworten (1)

Greg Heath
Greg Heath am 19 Dez. 2018
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

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by