mexpit | R Documentation |
multi-expit (numerical overflow dealt with)
mexpit(v)
v |
a vector of length K |
a vector of probabilities of length K; sums to one
sigmoid <- function(v) mexpit(c(0,v))[2] mexpit(c(1,0,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.