danluu/UFLDL-tutorial — pull request #2 by intfloat (2014-11-16 04:08:03+00:00)
Title: fix a bug

I think you mistype a{n + 1} * (1 - a{n}) while it actually should be a{n + 1} * (1 - a{n + 1}).

In given parameters settings, hiddenSizeL1 is coincidentally equal to hiddenSizeL2 so your code can run without dimension incompatible problem, however, if you run checkStackedAECost, it won't compile correctly.

Last but not least, really thanks for your code, very helpful to me.