softmax()
Compute softmax probabilities.
Usage
softmax(values)For a vector :math:z, the softmax of element :math:j is:
.. math::
\text{softmax}(z)_j = \frac{e^{z_j}}{\sum_{k=1}^{K} e^{z_k}}
Parameters
values: list-
Input values.
Returns
list-
Probability distribution that sums to 1.