Restricted Boltzmann Machine class using OpenCv, including Bernoulli-Bernoulli and Gaussian-Bernoulli implementations, plus utilities