Exercise:PCA and Whitening
From Ufldl
(→Step 0a: Load data) |
(→Step 0a: Load data) |
||
Line 8: | Line 8: | ||
==== Step 0a: Load data ==== | ==== Step 0a: Load data ==== | ||
- | The starter code contains code to load some | + | The starter code contains code to load some natural images and sample 12x12 patches from them. The raw patches will look something like this: |
- | [[File:raw_images.png|240px|alt=Raw | + | [[File:raw_images.png|240px|alt=Raw patches|Raw patches]] |
These patches are stored as column vectors <math>x^{(i)} \in \mathbb{R}^{144}</math> in the <math>144 \times 10000</math> matrix <math>x</math>. | These patches are stored as column vectors <math>x^{(i)} \in \mathbb{R}^{144}</math> in the <math>144 \times 10000</math> matrix <math>x</math>. |