logistic

logistic is an implementation of the logistic function \(\frac{1}{1+exp^{-x}}\)

Syntax

y = logistic(x)

Comment

Note that you typically would use the convex logsumexp operator to perform logistic regression, as illustrated in the example in the exponential cone tutorial

Implementation

The operator is implemented as a callback operator.

Leave a Comment