log_expit#

scikitplot.experimental._cy_experimental.log_expit(x0)#

Compute the logarithm of the expit (sigmoid) function for the input value x0.

The log-expit function is defined as:

log_expit(x) = -log(1 + exp(-x))

This function is useful in scenarios where the log-sigmoid is preferred for numerical stability or when working with log-probabilities.