Source

Sigmoid#

A bounded S-shaped function (specifically the Logistic function) with an output value between 0 and 1. The output of the sigmoid function has the advantage of being interpretable as a probability, however it is not zero centered and tends to saturate if inputs become large.

Parameters#

This activation Function does not have any parameters.

Example#

use Rubix\ML\NeuralNet\ActivationFunctions\Sigmoid;

$activationFunction = new Sigmoid();