lisa-lab/pylearn2 — pull request #850 by skearnes (2014-04-25 22:26:30+00:00)
Title: Add sparse activation autoencoder cost

I couldn't find a cost for autoencoder sparse activations in the library. This PR implements regularization on the KL divergence from the desired average activation of each hidden unit as described in Andrew Ng's CS294A Lecture Notes.