Learn Before
Concept
Linear Model for Multi-Class Classification
To estimate class probabilities across multiple categories, a classification model requires an output for each class. Using a linear model, this is achieved by defining an affine function for each output. For input features and output categories, the unnormalized outputs (logits) are computed as , where the weight matrix contains scalars and the bias contains scalars. Because every output depends on every input feature, this computation represents a fully connected layer in a single-layer neural network.
0
1
Updated 2026-05-03
Tags
D2L
Dive into Deep Learning @ D2L