Exercise:Self-Taught Learning

From Ufldl

Jump to: navigation, search
(Step 2: Train the sparse autoencoder)
(Step 2: Train the sparse autoencoder)
Line 35: Line 35:
===Step 2: Train the sparse autoencoder===
===Step 2: Train the sparse autoencoder===
-
Next, use the unlabeled data (digits 5-9) to train a sparse autoencoder, using the same <tt>sparseAutoencoderCost.m</tt> function as you had written in  the previous exercise.  (From the earlier exercise, you should have a working and vectorized implementation of the sparse autoencoder.) For us, the training step took less than 25 minutes on a fast desktop.  When training is complete, you should get a visualization of pen strokes like the image shown below:  
+
Next, use the unlabeled data (the digits from 5 to 9) to train a sparse autoencoder, using the same <tt>sparseAutoencoderCost.m</tt> function as you had written in  the previous exercise.  (From the earlier exercise, you should have a working and vectorized implementation of the sparse autoencoder.) For us, the training step took less than 25 minutes on a fast desktop.  When training is complete, you should get a visualization of pen strokes like the image shown below:  
[[File:selfTaughtFeatures.png]]
[[File:selfTaughtFeatures.png]]

Revision as of 23:43, 10 May 2011

Personal tools