Softmax
Soft max is a mathematical method of converting an array of numbers into its probability, such that the sum of all the values is 1.
why the word soft max?
In hardmax, the element with the highest value gets the value 1 and rest are 0 and still the sum of all elements is 1.
In softmax, the values of the soft max output is a softer curve and sum of values is 1.
Why Euler Number?
- Scores can be negative as well. With , the output is always positive.
- Using the as base never scrambles the actual value. It's the only exponential function whose derivative is the same as the function itself.