Learn R Programming

qrnn (version 2.0.1)

softplus.prime: Derivative of the approximation to the rectified linear function

Description

Derivative of the approximation to the rectified linear function.

Usage

softplus.prime(x, alpha=2)

Arguments

x

numeric vector.

alpha

rounded transition parameter.

See Also

softplus

Examples

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

Run the code above in your browser using DataLab