converts scores to probabilities P(yi)=Σjeyjeyi ensures output is between 0 and 1, and sum of all scores = 1