Boltzmann Machine Learning with the Latent Maximum Entropy Principle