The softmax function converts a vector of real numbers into a probability distribution. It exponentiates each element and normalizes by the sum, ensuring outputs are positive and sum to 1. It is used in multi-class classification.
Interactive lesson with visualizations and practice problems
Part of the Logistic Regression lesson in Mathematics Foundations