Skip to main content

Sigmoid

Sigmoid activation function


function sigmoid(x)
{
    //Logic
    return 1/(1+Math.exp(-z))
}