how define constraint on the outputs of ANN fitting?

2 Ansichten (letzte 30 Tage)
farzad
farzad am 11 Mär. 2015
Kommentiert: farzad am 8 Apr. 2015
Hi All
1- how shall I define a contraint on one of all the outputs ? for example if one of the outputs is an angle , and I don't want it to increase more than 90 , since it's out of the logic of my problem
2- when I train a network in a range of data , should it always be given inputs in the same range or also should work for out of the first input ?

Akzeptierte Antwort

Greg Heath
Greg Heath am 16 Mär. 2015
It depends on the reason for the constraint. Is it math/physics or convenience?
It is all done by a combination of target scaling and choice of output transfer function.
For example,
1. PURELIN ( -inf , inf )
2. TANSIG ( -a , +b ), a, b, finite
3. LOGSIG ( 0 , +b ), b finite
Hope this helps.
Thank you for formally accepting my answer
Greg
  10 Kommentare
farzad
farzad am 5 Apr. 2015
Dear Professor, I still think I should have all the outputs together and I can not focus on one , because the network should know that there is limit on one of the outputs with respcet to the other 2 outputs , I yet could not find a solution for this case

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows 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