The elementwise logistic function, log(1+ex). This is a special case of log(sum(exp)) that evaluates to a vector rather than to a scalar, which is useful for logistic regression.
methods
logistic(x)
Arguments
x: An Expression , vector, or matrix.
Returns
An Expression representing the logistic function evaluated at the input.