Weight Matrix Headcount

You train a linear softmax classifier on d-dimensional input features for k classes, giving every class its own weight vector and bias term. How many trainable parameters does the model have in total?

A

(k - 1)(d + 1), because softmax models are always fit with one class fixed as a reference

B

k(d + 1)

C

d(k + 1)

D

kd, since biases are not needed for multiclass models