View source: R/HelperFunctions.R
softplus | R Documentation |
Computes the softplus transform, equivalent to the cumulant generating function
of a logistic regression model: \log(1+e^x)
.
softplus(x)
x |
Numeric vector to apply softplus to |
Softplus transformed vector
x <- runif(5)
softplus(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.