Softmax Regression
From Ufldl
(→Introduction) |
(→Introduction) |
||
Line 74: | Line 74: | ||
<math>\theta</math> to denote all the | <math>\theta</math> to denote all the | ||
parameters of our model. When you implement softmax regression, is is usually | parameters of our model. When you implement softmax regression, is is usually | ||
- | convenient to represent <math>\theta</math> as <math>k</math>-by-<math>(n+1)</math> | + | convenient to represent <math>\theta</math> as a <math>k</math>-by-<math>(n+1)</math> matrix obtained by |
stacking up <math>\theta_1, \theta_2, \ldots, \theta_k</math> in rows, so that | stacking up <math>\theta_1, \theta_2, \ldots, \theta_k</math> in rows, so that | ||