Implementation of the softmax function.
Normalize a vector of real numbers into a probability distribution.
npm install softmax-function
yarn add softmax-functionconst softmax = require('softmax-function');
softmax([2.0, 1.0, 0.1]);
// ~[0.7, 0.2, 0.1]eveningkid, MIT