PCA
From Ufldl
(→What works well) |
(→What works well) |
||
Line 286: | Line 286: | ||
<math>\textstyle x^{(i)}</math> as follows: | <math>\textstyle x^{(i)}</math> as follows: | ||
- | <math>\mu^{(i)} | + | <math>\mu^{(i)} := \frac{1}{n} \sum_{j=1}^n x^{(i)}_j</math> |
- | <math>x^{(i)}_j | + | <math>x^{(i)}_j := x^{(i)}_j - \mu^{(i)}</math>, for all <math>\textstyle j</math> |
Note that the two steps above are done separately for each image <math>\textstyle x^{(i)}</math>, | Note that the two steps above are done separately for each image <math>\textstyle x^{(i)}</math>, |