Description Usage Arguments Details Value Examples
View source: R/LogisticRegression.R
Sigmoid function, otherwise known as a logistic function
1 | sigmoid(z)
|
z |
input |
The sigmoid (or logistic) function,
σ(z) = 1 / (1 + e^{-z})
is used in logistic regression to model probabilities, commonly the probability of predicting the positive class, i.e. p(y=1).
output value of the function
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.