sigmoid | R Documentation |
This function takes a number θ and returns its respective sigmoid probability \frac{e^{theta}}{1+e^{theta}}. This is used in logistic regression to model P(y=1|x).
sigmoid(theta)
theta |
the linear predictor |
the sigmoid probability
sigmoid(0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.