powered by
Implementation of the softmax function.
softmax(logits)
The same matrix where each row is normalized so that row sums equal 1; useful to construct conditional probability mass functions.
An nxM matrix, with n the sample size and M the number of classes of an ordinal outcome.
Riccardo Di Francesco