This is the code related to part 3 - Bayesian Rating - of the paper "Improving on Yelp Reviews Using NLP and Bayesian Scoring", a report on a project done within Andrew Ng's CS229 Machine Learning class at Stanford, by Patrick Bechon, Yacine Merouchi and Léo Grimaldi. The report can be found here: http://cs229.stanford.edu/proj2011/BechonGrimaldiMerouchi-ImprovingYelpReviews.pdf