Description Usage Arguments Value Examples
View source: R/responsefunctions.R
An implementation of the Softplus ReLu transformation function
1 | tf_softplus(x)
|
x |
value to transform |
x transformed
1 2 3 | library(ggplot2)
ggplot(data.frame(x = c(0, 4)), aes(x)) +
stat_function(fun = function(x) tf_softplus(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.