Learn R Programming

qrnn (version 2.0.1)

elu: Exponential linear function

Description

Exponential linear function. Used as the hidden layer transfer function for nonlinear QRNN models.

Usage

elu(x, alpha=1)

Arguments

x

numeric vector.

alpha

transition parameter.

See Also

elu.prime

Examples

Run this code
# NOT RUN {
x <- seq(-2, 2, length=200)
plot(x, elu(x, alpha=1))
# }

Run the code above in your browser using DataLab