Example of unsupervised DBN in Python