Neural network with negative output ?

hi, i have problem with Neural network using nntool, i have a some negative data in the output! there is relation between this in the input range ? and how can i define the input range ? i use the logsig and pureline transfer function,
thanks in advance,

3 Kommentare

Greg Heath
Greg Heath am 1 Nov. 2018
Bearbeitet: Greg Heath am 1 Nov. 2018
Need more details.
Have you looked at plots of the input, target, and target vs input?
Greg
reda yagoub
reda yagoub am 1 Nov. 2018
but why ! i need a output with only positive values, how can i choose the input range! thanks
Greg Heath
Greg Heath am 19 Dez. 2018
Your comment doesn't make any sense.
You should ALWAYS plot your input, output and output vs input
The range of input and target are properties of the given data. Not sure what you mean by choosing them.
Always choose tansig in the hidden layer
In general, the output layer is linear
HOWEVER for specific cases:
Use tansig if the output is bounded in [ -1,1]
Use logsig if the output is bounded in [ 0,1]
Hope this helps.
Greg

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

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

Gefragt:

am 31 Okt. 2018

Kommentiert:

am 19 Dez. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by