What is the primary purpose of the softmax function in the output layer of a classifier?
-
A
To bound outputs between -1 and 1
-
B
To convert raw logits into a probability distribution summing to 1
-
C
To apply non-linearity to hidden layers
-
D
To normalize weights across neurons