Softmax Activation Function

Neural Units & Activations DS practice problem on Onlearn.

Difficulty: easy.

Topics: Understanding Softmax Activation Function Implementation, Softmax Function, Log-Sum-Exp Trick, Probability Normalization, Exponentiation, Categorical Output Layer, Deep Learning Foundations, Probability Theory, Numerical Computing, Information Theory, Statistical Learning, Neural Units and Activations, Multinomial Distributions, Vectorized Operations, Entropy Measures, Classification Architectures.

Write a Python function that computes the softmax activation for a given list of scores. The function should return the softmax values as a list, each rounded to four decimal places.