Restricted Boltzmann Machine

Introducing latent variables to Boltzmann machine and restrict the connections within groups.