About this question

Softmax Output Sum

Easy · Linear Algebra & Machine Learning · Quant Trader interview question · softmax, probability, machine-learning

A machine learning model outputs a vector $z = 2, 1, 0$ representing the log-odds of three different events. You apply the softmax function to this vector to obtain probabilities. What is the sum of the elements of the resulting probability vector?