Beer recommendations, courtesy of 20,000 craft beer nerds
I built an item similarity recommender using craft beer trading data from the ~20,000 users of The Beer Exchange (BEX), a craft beer trading marketplace. Currently, this algorithm provides recommendations for users of BEX and Savvy Suds, the simple web app I put together.
The data science team at Galvanize wrote some nice things about my recommender! Read more here: galvanize.com/blog/beer-recommender
I used an item similarity collaborative filtering model that employs Jaccard similarity to choose which beers to recommend. That's a fancy way of saying that my model recommends the beers from the wishlists of users like you. The algorithm avoids suggesting beers preferred by users with different preferences, which helps to alleviate the popularity bias that generally plagues recommenders.
Here's a visual explanation of item similarity:
Special thanks to the design wizards at Galvanize for the awesome infographic :)
The dataset is comprised by the beer wishlists BEX users. A beer can be added to a wishlist in three ways:
- Adding a beer to the "in search of" list (easy for the user)
- Proposing a trade for a beer (a bit harder)
- Completing a trade to receive a beer (really, really hard)
After experimenting with models using different combinations of these signals, I found that the item similarity recommender using only completed trades worked the best.
It takes a lot of effort to complete a trade for a beer. You have to find a trading partner, negotiate your terms, get the beers you promised, and mail them across the country. All of this effort amounts to an incredibly strong signal of interest for the beer the user hopes to get out of the trade.
Users who had too few beer interactions don't provide much information on how beers relate to each other and were thus filtered out of the dataset used to train the model.
The interactions between users and beers reveal some very interesting patterns user tastes. Three distinct communities emerged, IPA lovers, stout lovers, and sour lovers. Interestingly, there was a lot of overlap between these communities, revealing strong diversity in the taste of these communities.
Read Galvanize's take on my recommender.
Get some ideas about what beer to try next.
The beer trading platform where you can get essentially any beer you want.
I gave a talk about this model in late January.