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

1 view (last 30 days)
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.

Answers (1)

Greg Heath
Greg Heath on 19 Dec 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

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!