nudging the digits dataset for BernouilliRBM example