softmax | R Documentation |
the function calculates the softmax function for the multinomial response variable
softmax(num)
num |
A numeric matrix or vector |
softmax
A numeric matrix or vector of the same shape as num, where each element represents a probability value between 0 and 1. The values sum to 1 across each row or the entire vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.