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

1 回表示 (過去 30 日間)
Kittipong Noonoi
Kittipong Noonoi 2018 年 10 月 30 日
回答済み: Greg Heath 2018 年 12 月 19 日
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 Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by