R/math_helpers.R
sigmoid.Rd
Calculates the sigmoid function of the input
sigmoid(float)
A float number
A float number which is the result of the sigmoid function
sigmoid(0) #> [1] 0.5 sigmoid(2) #> [1] 0.8807971