Learning under uncertainty: a comparison between R-W and Bayesian approach