Softmax Regression
From Ufldl
m |
|||
Line 73: | Line 73: | ||
For convenience, we will also write | For convenience, we will also write | ||
<math>\theta</math> to denote all the | <math>\theta</math> to denote all the | ||
- | parameters of our model. When you implement softmax regression, is usually | + | parameters of our model. When you implement softmax regression, it is usually |
convenient to represent <math>\theta</math> as a <math>k</math>-by-<math>(n+1)</math> matrix obtained by | 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 |