sigmoid | R Documentation |
Sigmoid 1/(1 + \exp(-x))
, first and second
derivative.
sigmoid(x)
dsigmoid(x)
d2sigmoid(x)
x |
a numeric vector |
Friedrich Leisch
plot(sigmoid, -5, 5, ylim = c(-.2, 1))
plot(dsigmoid, -5, 5, add = TRUE, col = 2)
plot(d2sigmoid, -5, 5, add = TRUE, col = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.