Exercise:Sparse Autoencoder
From Ufldl
Line 32: | Line 32: | ||
an 8×8 image patch from the selected image, and convert the image patch (either | an 8×8 image patch from the selected image, and convert the image patch (either | ||
in row-major order or column-major order; it doesn't matter) into a 64-dimensional | in row-major order or column-major order; it doesn't matter) into a 64-dimensional | ||
- | vector to get a training example <math>x \in \Re^{64} | + | vector to get a training example <math>x \in \Re^{64}.</math> |
Complete the code in <tt>sampleIMAGES.m</tt>. Your code should sample 10000 image | Complete the code in <tt>sampleIMAGES.m</tt>. Your code should sample 10000 image |