php sigmoid function
snippet in php

php sigmoid function

user5052

function sigmoid($t){
    return 1 / (1 + exp(-$t));
}

function php

user3866

function functionName() {
    //code to be executed;
}