Exercise:PCA and Whitening

From Ufldl

Jump to: navigation, search
(PCA, PCA whitening and ZCA implementation)
(PCA, PCA whitening and ZCA implementation)
Line 1: Line 1:
== PCA, PCA whitening and ZCA implementation ==
== PCA, PCA whitening and ZCA implementation ==
-
In this problem set, you will implement PCA, PCA whitening and ZCA, as described in the lecture notes.
+
In this problem set, you will implement PCA, PCA whitening and ZCA whitening, as described in the lecture notes.
-
In the file <tt>...</tt>, we have provided some starter code in MATLAB. You should write your code at the places indicated in the files ("YOUR CODE HERE"). You will only have to modify <tt>pca_gen.m</tt>.
+
You will build on the MATLAB starter code which we have provided in <tt>..</tt>. You need only write code at the places indicated by "YOUR CODE HERE" in the files. The only file you need to modify is <tt>pca_gen.m</tt>.
=== Step 0: Load data ===
=== Step 0: Load data ===
Line 11: Line 11:
[[File:raw_images.png|240px|alt=Raw images|Raw images]]
[[File:raw_images.png|240px|alt=Raw images|Raw images]]
-
These patches are stored as column vectors <math>x^{(i)} \in \mathbb{R}^{196}</math> in the 196 * 10000 matrix <math>x</math>.
+
These patches are stored as column vectors <math>x^{(i)} \in \mathbb{R}^{196}</math> in the <math>196 \times 10000 matrix <math>x</math>.
=== Step 1: Implement PCA ===
=== Step 1: Implement PCA ===

Revision as of 20:34, 4 April 2011

Personal tools