Alleviating the noisy data problem using Restricted Boltzmann machines