LOGSIG for output that has values from 0-2

Hi,¨
I have an output with values between 0-2 (0,1,2). But in other to interpret the output properly, I used logsig in the output layer so that the values could be between 0 and 1.
net.layers{2}.transferFcn = 'logsig';
However, the result was disappointing as I have results such as 2.345e-23, -2.677e-34, -4.456e-5, and 1.
I thought with activation function 'logsig', the output will be in the region of 0 and 1.
I look forward to suggestions from you.
Thanks. Abu

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

on 31 Jul 2017

Edited:

on 31 Jul 2017

Community Treasure Hunt

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

Start Hunting!