Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Brewing Beer with Python @ PyCon UK 2018

Brewing Beer with Python @ PyCon UK 2018

Lightning talk at PyCon UK 2018 (https://2018.pyconuk.org) about generating beer recipes using Artificial Intelligence.

Marco Bonzanini

September 17, 2018
Tweet

More Decks by Marco Bonzanini

Other Decks in Technology

Transcript

  1. Brewing Beer with Python
    @MarcoBonzanini
    PyCon UK 2018

    View Slide

  2. 1.Python
    2.Machine Learning when you don’t need it
    3.Over engineering for no reason
    4.Beer (in moderation)

    View Slide

  3. MALT
    WATER HOPS YEAST

    View Slide

  4. 1.Mashing (grain + water)
    2.Boiling (+ hops)
    3.Cooling
    4.Fermentation (+ yeast)

    View Slide

  5. Grain bill:
    2Kg Pilsner malt
    1Kg Pale malt
    1Kg Wheat malt
    1Kg Wheat flakes
    0.5Kg Munich malt
    0.5Kg Oat flakes
    Mash:
    30m at 55C
    60m at 67C
    15m at 75C
    Boil:
    40g Magnum @ 60m
    40g Mosaic @ 10m
    20g Coriander seeds @ 10m
    In fermenter: 5 gallons
    Fermentation: 2 weeks at 20C
    Yeast: M21
    OG: 1.059
    FG: 1.015
    IBU: 64

    View Slide

  6. Grain bill:
    2Kg Pilsner malt
    1Kg Pale malt
    1Kg Wheat malt
    1Kg Wheat flakes
    0.5Kg Munich malt
    0.5Kg Oat flakes
    Mash:
    30m at 55C
    60m at 67C
    15m at 75C
    Boil:
    40g Magnum @ 60m
    40g Mosaic @ 10m
    20g Coriander seeds @ 10m
    In fermenter: 5 gallons
    Fermentation: 2 weeks at 20C
    Yeast: M21
    OG: 1.059
    FG: 1.015
    IBU: 64

    View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. Neural Networks

    View Slide

  11. Recurrent Neural Networks (RNN)
    http://colah.github.io/posts/2015-08-Understanding-LSTMs/

    View Slide

  12. RNN unrolled
    http://colah.github.io/posts/2015-08-Understanding-LSTMs/

    View Slide

  13. Long Short Term Memory (LSTM)
    http://colah.github.io/posts/2015-08-Understanding-LSTMs/

    View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. View Slide