powered by
softmax returns the soft maximum of a collection of reals.
softmax
softmax(x, a = 100)
input
scaling factor
# NOT RUN { set.seed(12345) n <- 10 x <- rnorm(n) softmax(x) # }
Run the code above in your browser using DataLab