powered by
Computes a trivial identity function. Used as the hidden layer transfer function for linear QRNN models.
linear(x)
numeric vector.
linear.prime, sigmoid
linear.prime
sigmoid
# NOT RUN { x <- seq(-10, 10, length=100) plot(x, linear(x)) # }
Run the code above in your browser using DataLab