Skip to content

Commit 8208de7

Browse files
committed
Fix bug caused by refactoring, add comment on Octave vs. MATLAB
1 parent 9b395d3 commit 8208de7

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@ These are solutions to the exercises up at the [Stanford OpenClassroom Deep Lear
22

33
Apologies for the mess. I'll clean this up when I have some spare time. Pull requests welcome, of course.
44

5+
I've attempted to make this Octave compatible, so that you can run this with free software. I've done this through the self-taught learning exercise, and it seems to work, but the results are slightly different. One side effect of this is that I'm using [fminlbfgs instead of minFunc](http://ufldl.stanford.edu/wiki/index.php/Fminlbfgs_Details)
6+
57
Here's the order of the exercises:
68
#### [Stanford OpenClassroom Deep Learning class](http://openclassroom.stanford.edu/MainFolder/CoursePage.php?course=DeepLearning)
7-
1. linear.m
8-
2. multiple.m
9-
3. logistic.m
9+
1. `linear.m`
10+
2. `multiple.m`
11+
3. `logistic.m`
1012

1113
#### [Unsupervised Feature Learning and Deep Learning Tutorial](http://ufldl.stanford.edu/wiki/index.php/UFLDL_Tutorial)
12-
1. Sparse Autoencoder: sparseae_exercise/train.m
14+
1. Sparse Autoencoder: `sparseae_exercise/train.m`
1315
2. Vectorized Implementation: sparseae_exercise/train.m (`1` is already vectorized)
14-
3.1. PCA in 2d: pca_2d/pca_2d.m
15-
3.2. PCA: pca_gen/pca_gen.m
16-
4. Softmax Regression: softmax_exercise/softmaxExercise.m
17-
5. Self-Taught Learning: stl_exercise/stlExercise.m
16+
17+
3.1. PCA in 2d: `pca_2d/pca_2d.m`
18+
3.2. PCA: `pca_gen/pca_gen.m`
19+
4. Softmax Regression: `softmax_exercise/softmaxExercise.m`
20+
5. Self-Taught Learning: `stl_exercise/stlExercise.m`
1821

stl_exercise/stlExercise.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@
8686

8787

8888
[opttheta, cost] = fminlbfgs( @(p) sparseAutoencoderCost(p, ...
89-
visibleSize, hiddenSize, ...
89+
inputSize, hiddenSize, ...
9090
lambda, sparsityParam, ...
91-
beta, patches), ...
91+
beta, unlabeledData), ...
9292
theta, options);
9393

9494

0 commit comments

Comments
 (0)