softmax | R Documentation |
softmax function
softmax(par)
par |
vector |
num vector with components >= 0 and sum = 1
p <- c(0.6, 0.3, 0.1) softmax(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.