Restricted Boltzmann machine for the MNIST handwritten digits dataset.