Learn R Programming

qrnn (version 2.0.1)

sigmoid: Sigmoid function

Description

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

Usage

sigmoid(x)

Arguments

x

numeric vector.

See Also

sigmoid.prime, linear

Examples

Run this code
# NOT RUN {
x <- seq(-10, 10, length=100)
plot(x, sigmoid(x))
# }

Run the code above in your browser using DataLab