logsig
(To be removed) Log-sigmoid transfer function
logsig will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Description
Tip
To use a logistic sigmoid activation for deep learning, use sigmoidLayer or the dlarray method sigmoid.
takes a matrix of net input vectors, A = logsig(N)N and returns the
S-by-Q matrix, A, of
the elements of N squashed into [0, 1].

logsig is a transfer function. Transfer functions calculate a
layer’s output from its net input.
returns information about this function. For more information, see the
code argument description.info = logsig(code)
Examples
Input Arguments
Output Arguments
Algorithms
logsig(n) = 1 / (1 + exp(-n))
Version History
Introduced before R2006aSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork