Pylearn2 implementation of DBM described by Hinton and Salakhutdinov