Softmax Softmax function convert the scores into proper probability (sum equal to 1) Dependencies numpy matplotlib Use pip to install above dependencies. $ pip install numpy $ pip install matplotlib Inline-style: