This notebook uses Bayesian analysis to determine the probability that one product is better than another.
The reason I chose to publish this notebook is three-fold:
- I wanted to tackle a problem that used the multinomial and dirichlet distributions rather than the typical binomial with a beta prior
- I hoped to show that Bayesian analysis can be used to solve very practical problems and give intuitive results
- I wanted to help people who are familiar with the basics of Bayes' Rule and probability extend the concept for use with distributions and relative likelihoods
git clone https://github.com/exchez/amazon-bayes.git
cd amazon-bayes
docker-compose up
- make sure to run
docker-compose down
when you're done
- Click the link to binder above
- Get up and grab a coffee (optional). It may take ~15 minutes to build the image if it's not cached.
- Replace "tree" at the end of the url with "lab" to run in Jupyter Lab (optional). Though I actually think it looks nicer in a notebook.