scikitplot.experimental#

Experimental functions and utilities by Python and Cython/Pybind11 Bindings.

This package contains experimental functions and utilities for use with Cython/Pybind11 Bindings and Python implementations. The functions provided here are optimized for performance and are implemented using Cython/Pybind11 Bindings to leverage its speed advantages.

This package is intended for experimental use. Functionality and APIs may change in future releases.

User guide. See the Experimental (experimental) section for further details.

Cython Bindings samples#

_cy_experimental.expit

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

_cy_experimental.log_expit

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

_cy_experimental.logit

Compute the logit function, which is the inverse of the sigmoid function, for the input value x0.

Pybind11 Bindings samples#

_py_experimental.py_print

Prints a Unicode message.

Python samples#

_logsumexp.sigmoid

Compute the sigmoid function for the input array x.

_logsumexp.softmax

Compute the softmax function.

_logsumexp.logsumexp

Compute the log of the sum of exponentials of input elements.

_logsumexp.log_softmax

Compute the logarithm of the softmax function.