how define constraint on the outputs of ANN fitting?

2 visualizzazioni (ultimi 30 giorni)
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 ?

Risposta accettata

Greg Heath
Greg Heath il 16 Mar 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 Commenti
farzad
farzad il 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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by