powered by
Computes the softplus transform, equivalent to the cumulant generating function of a logistic regression model: \(\log(1+e^x)\).
softplus(x)
Softplus transformed vector
Numeric vector to apply softplus to
x <- runif(5) softplus(x)
Run the code above in your browser using DataLab