vdumoulin/pylearn2 — pull request #3 by laurent-dinh (2014-10-02 02:48:08+00:00)
Title: Added entropy and put in KL

A small change to the VAE: the default KL divergence is broken between log_p_z and entropy such that `kl(q,p) = cross-entropy(q,p) - entropy(q)`.
Put the `entropy` method in `pylearn2.models.vae.conditional.Conditional`.