sigmoid: The Logistic Function and Derivatives

Description Usage Arguments Author(s) Examples

Description

Sigmoid 1/(1 + exp(-x)), first and second derivative.

Usage

1
2
3

Arguments

x

a numeric vector

Author(s)

Friedrich Leisch

Examples

1
2
3
plot(sigmoid, -5, 5, ylim = c(-.2, 1))
plot(dsigmoid, -5, 5, add = TRUE, col = 2)
plot(d2sigmoid, -5, 5, add = TRUE, col = 3)


Search within the e1071 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.