Learn Before
Concept
Softmax Regression Parameter Dimensions
The number of outputs from a softmax regression network is strictly determined by the number of target categories in the classification task. Because each output corresponds to a predicted class probability, a dataset with classes requires an output dimension of . For example, mapping a -dimensional flattened input vector to distinct classes necessitates a weight matrix alongside a row vector for the biases.
0
1
Updated 2026-05-03
Tags
D2L
Dive into Deep Learning @ D2L