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 CC classes requires an output dimension of CC. For example, mapping a 784784-dimensional flattened input vector to 1010 distinct classes necessitates a 784imes10784 imes 10 weight matrix alongside a 1imes101 imes 10 row vector for the biases.

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L