Challenge Project

Molecular Beer

Fresh data and Interface

hack-dna

TEAM

  • Jonathan Sobel: Bioinfo, Science
  • Gianpaolo Rando: Science
  • Xavier Stouder : IT Student, full-stack developer
  • Jonny Hofmann : IT Student full-stack developer
  • Christophe Penot: Marketing
  • Sébastien Martin: IT Student and graphic designer
  • Nolan Rigo: IT Student (Web Developer)
  • Ronald Rodriguez: Chemist
  • Luc Patiny: Chemist, Data viz

What is BeerDeCoded?

At BeerDeCoded we map beer at molecular level to help brewers and beer passionates to make more informed decisions.

We want to create a molecular tree of beers that links beers with similar properties. Akin to a fingerprint, this open information could be used for B2B and B2C projects. For instance, BeerDeCoded will help craft brewers benchmark new recipes against existing products and control their quality. Also, the data could train a deep learning sommelier to help beer passionates to discover new beers.

We brainstormed this idea during a past Open Data Hackathon documentation and TODAY WE IMPLEMENTED IT!

Repository:

Existing Data

We have access to the following datasets:

  • List of 240+ Swiss-German Beers google sheets: %Alcohol, Bitternes, .
  • Brewing recipes of 200+ BrewDog beers API, Json.
  • Untappd social drinking network (max 100 calls per hours) : API
  • Beer rating website : API

Fresh Data at the Hackathon

We collected real samples of 118 Beers, crowdsourced from 20 countries tab-separated-values. alt text

We borrowed from the Criminology Department a portable molecular scanner and at the Hackathon we scanned all the 118 beers creating a brand new open molecular dataset for the beer chemical profiles.

alt text

Model: First Defender RMX from Thermo Scientific product page A Raman Spectrometer used by the police to identify chemical substances (i.e. explosives, drugs) using Raman spectroscopy

alt text Luc Patiny (EPFL) worked on a webpage to visualise and compare the spectra. Required: Google Chrome online demo.

alt text

Page features:

  • There is now the colored spectrum 'covariance' that show in red the parts of the spectrum that change the more from one to another
  • It also calculates the similarity matrix (just double click on it if it does not appear). Click on the similarity matrix will show you the 2 spectra for the corresponding pixel.
  • There is also the 'Clustering' button that allows to display result of hierarchical clustering.

There are traces of the food additive Potassium nitrite (E249, a preservative). In one beer we also found traces of an herbicide.

The tree of beers

We grouped beers with similar molecular profiles into a “tree”.

alt text

This dendrogram put beers with similar profiles into different groups (branches). Give us your feedback. alt text

Typical questions with a molecular answer:

B2C - Molecular Sommelier App

Pick a beer you like and see what else is on the branch. Try one beer. Do you like it? Stay close to your comfort zone. Wander away a few branches for something new. Feeling adventurous? Try something on the polar opposite side of the tree.

B2B - Raw material compliance

Is this yeast, hops, wheat or barley really what my provider says it is. Does it contain GMO? Pesticides?

B2B - Food safety

Does my product contain harmful or undesirable microbial contaminants? Does it contain an allergen? Who introduced the contaminant, my production site or my subcontractor? What is the shelf life of this beer?

B2B - Competitor mapping

Does my competitor use my proprietary yeast strain? How does my home-brew beer compare to benchmarks or known brands?

The Beer Market

There are about 20,000 different beer brands on the global market. And the market for craft beers is experiencing a tremendous expansion. In the USA alone, there were more than 1,800 microbreweries in 2014 (+ 27.8% when compared with the previous year) and there are more than 6,000 in Europe and more than 600 only in Switzerland. To differentiate themselves, microbreweries continuously experiment and create new recipes, contributing to as many as 1M of different beer lots brewed every year. This explosion of variety and complexity means that both brewers and consumers face major challenges.

Business Brainstorm:

Who is consuming what? Beer is second after wine! Segmentation of the consumers? Profile utilisateur (as perspectives) Think Mobile First !

Objectives:

  • Be able to consult our Beer database on a smartphone
  • Be able to compare the prices and order your favorite beer For inspiration: the Ten rules of simplicity (John Maeda)

Segmentation of the database:

  • Fermentation process
  • Origin of Beers
  • IBU, % alcohol, …

Legal question:

  • personal data protection
  • copyright of beers stickers

Consumers segmentation:

  • Age
  • Sex
  • Taste
  • opinion

Data modeling and database engine

The database engine will be RethinkDB. NoSQL advantages + join functionalities.

alt text

The BeerDeCoded Challenge @Open Food Data Hackdays

For the BeerDecoded Challenge we did BREW

  • Brainstorm about the potential applications of a Beer knowledge-base based on open access data (B2B, B2C)
  • Re-analyze some beer data sets
  • Produce FRESH DATA open access data set about beers (recipes, sticker, measurements, price, brewery,... )
  • Wet-lab - Digitise the molecular spectra of 100+ beers with a portable spectrometer.
  • Elucidate the swiss beer market
  • Work on a web interface to browse our beer knowledge base USE CHROME. Online demo

Joined the team

11.02.2017 19:13 ~ greg_s

Edited

11.02.2017 17:42 ~ gianpaolo_rando

Joined the team

11.02.2017 17:04 ~ gianpaolo_rando

Event finished

Edited

11.02.2017 12:33 ~ jsobel

Joined the team

11.02.2017 12:21 ~ jsobel

Edited

11.02.2017 12:20 ~ jsobel

First post View challenge

10.02.2017 15:10 ~ jsobel

Challenge

Event started

 
Contributed 7 years ago by gianpaolo_rando for Open Food Hackdays 2017

School of Data CH   Slack | Twitter | Facebook


Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.