Restricted Boltzmann machine for a binary classification problem.