Hacker News new | ask | show | jobs
by sashank_1509 1184 days ago
This is better answered in stack overflow but x is an array. I think a better written string is e ^ (x_i - max(x)) / sum_i(e^(x_i - max(x))" x_i is a specific element in the array x. Basically an array of real values is converted to an array of 0 to 1, with one corresponding to the largest element in x