Sigmoid function

Share:

Description

Computes the hyperbolic tangent sigmoid function. Used as the hidden layer transfer function for nonlinear QRNN models.

Usage

1

Arguments

x

numeric vector.

See Also

sigmoid.prime, linear

Examples

1
2
x <- seq(-10, 10, length = 100)
plot(x, sigmoid(x))