linear: Identity function

Description Usage Arguments See Also Examples

View source: R/linear.R

Description

Computes a trivial identity function. Used as the hidden layer transfer function for linear QRNN models.

Usage

1
linear(x)

Arguments

x

numeric vector.

See Also

linear.prime, sigmoid

Examples

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

qrnn documentation built on May 30, 2017, 3:24 a.m.