Slide 1

Slide 1 text

In Pursuit of the Perfect Pairing - Music, Recommender Systems, and Beer Ben Fields @alsothings

Slide 2

Slide 2 text

@alsothings What to listen to next? 2

Slide 3

Slide 3 text

@alsothings 3 http://www.flickr.com/photos/bookgrl/423259086/

Slide 4

Slide 4 text

@alsothings 4

Slide 5

Slide 5 text

@alsothings What to drink next? 5

Slide 6

Slide 6 text

@alsothings 6 http://www.flickr.com/photos/avcellshots/4381124026/

Slide 7

Slide 7 text

@alsothings 7 http://www.flickr.com/photos/afagen/3002609890/ recommending music a bit about beer early attempts

Slide 8

Slide 8 text

@alsothings what is a recommender system? 8

Slide 9

Slide 9 text

@alsothings 9

Slide 10

Slide 10 text

@alsothings 10

Slide 11

Slide 11 text

@alsothings 11

Slide 12

Slide 12 text

@alsothings prediction 12

Slide 13

Slide 13 text

@alsothings prediction of opinions 13

Slide 14

Slide 14 text

@alsothings prediction of opinions about things 14

Slide 15

Slide 15 text

@alsothings rating item 15

Slide 16

Slide 16 text

@alsothings rating movie 16

Slide 17

Slide 17 text

@alsothings 17

Slide 18

Slide 18 text

@alsothings prediction of opinions about things 18

Slide 19

Slide 19 text

@alsothings prediction of actions on things 19

Slide 20

Slide 20 text

@alsothings rating movie 20

Slide 21

Slide 21 text

@alsothings listen song 21

Slide 22

Slide 22 text

@alsothings 22

Slide 23

Slide 23 text

@alsothings 23

Slide 24

Slide 24 text

@alsothings techniques 24

Slide 25

Slide 25 text

@alsothings collaborative filtering 25

Slide 26

Slide 26 text

@alsothings 26 items users

Slide 27

Slide 27 text

@alsothings rating/ user 1 2 3 4 … N 1 2 … N 4 5 1 … 4 1 3 … 3 … 2 2 … 26 items users

Slide 28

Slide 28 text

@alsothings rating/ user 1 2 3 4 … N 1 2 … N 4 5 1 … 4 1 3 … 3 … 2 2 … 26 items users

Slide 29

Slide 29 text

@alsothings rating/ user 1 2 3 4 … N 1 2 … N 4 5 1 … 4 1 3 … 3 … 2 2 … 26 items users

Slide 30

Slide 30 text

@alsothings rating/ user 1 2 3 4 … N 1 2 … N 4 5 1 … 4 1 3 … 3 … 2 2 … 26 items users

Slide 31

Slide 31 text

@alsothings content-based 27

Slide 32

Slide 32 text

@alsothings tf•idf 28

Slide 33

Slide 33 text

@alsothings term frequency 29 inverse document frequency •

Slide 34

Slide 34 text

@alsothings 30 The Beatles were an English rock band formed in Liverpool in 1960, and one of the most commercially successful and critically acclaimed acts in the history of popular music.[1] The group's best-known lineup consisted of John Lennon (rhythm guitar, vocals), Paul McCartney (bass guitar, vocals), George Harrison(lead guitar, vocals) and Ringo Starr (drums, vocals). Rooted in skiffle and 1950s rock and roll, the group later worked in many genres ranging from pop ballads to psychedelic rock, often incorporating classicaland other elements in innovative ways. Their enormous popularity first emerged as "Beatlemania"; as their songwriting grew in sophistication by the late 1960s, they came to be perceived by many fans and cultural observers as an embodiment of the ideals shared by the era's sociocultural revolutions. Oasis were an English rock band formed in Manchester in 1991. Originally known as The Rain, the group was formed by Liam Gallagher (vocals and tambourine), Paul "Bonehead" Arthurs (guitar), Paul "Guigsy" McGuigan (bass guitar) and Tony McCarroll (drums, percussion), who were soon joined by Liam's older brother Noel Gallagher (lead guitar and vocals). They have had eight UK number-one singles and eight UK number- one albums, and won fifteen NME Awards, nine Q Awards, four MTV Europe Music Awards and six Brit Awards, including one in 2007 for outstanding contribution to music and one for the best album of the last 30 years as voted by the BBC Radio 2 listeners; they have been nominated for three Grammy Awards. As of 2009, the band have sold an estimated 70 million records worldwide.[1] Also the band was listed in the Guinness Book of World Records in 2010 for …

Slide 35

Slide 35 text

@alsothings 31 60s 70s acoustic alternative alternative rock awesome beat beatles best band ever blues britishbritish invasion british psychedelia british rock britpop classic classic pop classic rockclassics england english experimental favorite favorite artists favorites favourites folk funk funky genius groovyhard rock indie indie rock jazz legend legends liverpool love male vocalists merseybeat metal oldies overrated pop pop rock pop-rock progressive rock psychedelic psychedelic pop psychedelic rock rock rock and roll rock n roll rock'n'roll singer-songwriter soul the beatles the best uk The Beatles Oasis 00s 80s 90s acoustic alt rock alternative alternative rock awesome brit brit pop brit rockbrit-pop british british rock britpop britrock chillout classic rock easy listeningelectronic emo england english favorites favourites funk funky groovy grunge guitar hard rock indieindie pop indie rock japanese jazz jecks liam gallagher love madchester male vocalists manchester mellowmetal nice noel gallagher oasis pop pop rock progressive rock punk punk rock rock rock and roll rock n roll singer-songwriter soft rock soul uk wonderwall

Slide 36

Slide 36 text

@alsothings 32 http://www.flickr.com/photos/afagen/3002609890/ recommending music a bit about beer early attempts

Slide 37

Slide 37 text

@alsothings 33 beer! http://www.flickr.com/photos/heady/5764164971/

Slide 38

Slide 38 text

@alsothings Yeast 34 Hops Malt Water http://www.flickr.com/photos/raymanoz/1445066684/ http://www.flickr.com/photos/enor/517787281/ http://en.wikipedia.org/wiki/File:S_cerevisiae_under_DIC_microscopy.jpg http://www.flickr.com/photos/epicbeer/2599290916/ 35

Slide 39

Slide 39 text

@alsothings Yeast 34 Hops Malt Water http://www.flickr.com/photos/raymanoz/1445066684/ http://www.flickr.com/photos/enor/517787281/ http://en.wikipedia.org/wiki/File:S_cerevisiae_under_DIC_microscopy.jpg http://www.flickr.com/photos/epicbeer/2599290916/ 35

Slide 40

Slide 40 text

@alsothings Yeast 34 Hops Malt Water http://www.flickr.com/photos/raymanoz/1445066684/ http://www.flickr.com/photos/enor/517787281/ http://en.wikipedia.org/wiki/File:S_cerevisiae_under_DIC_microscopy.jpg http://www.flickr.com/photos/epicbeer/2599290916/ 35

Slide 41

Slide 41 text

@alsothings Yeast 34 Hops Malt Water http://www.flickr.com/photos/raymanoz/1445066684/ http://www.flickr.com/photos/enor/517787281/ http://en.wikipedia.org/wiki/File:S_cerevisiae_under_DIC_microscopy.jpg http://www.flickr.com/photos/epicbeer/2599290916/ 35

Slide 42

Slide 42 text

@alsothings Yeast 34 Hops Malt Water http://www.flickr.com/photos/raymanoz/1445066684/ http://www.flickr.com/photos/enor/517787281/ http://en.wikipedia.org/wiki/File:S_cerevisiae_under_DIC_microscopy.jpg http://www.flickr.com/photos/epicbeer/2599290916/ 35

Slide 43

Slide 43 text

@alsothings 35 Mash Boil Ferment Package http://www.flickr.com/photos/imorgan73/3624103555/ http://www.flickr.com/photos/grufnik/3412434904/ http://www.flickr.com/photos/cizauskas/2937374507/ http://www.flickr.com/photos/worldofjan/4655523132/ 36

Slide 44

Slide 44 text

@alsothings 35 Mash Boil Ferment Package http://www.flickr.com/photos/imorgan73/3624103555/ http://www.flickr.com/photos/grufnik/3412434904/ http://www.flickr.com/photos/cizauskas/2937374507/ http://www.flickr.com/photos/worldofjan/4655523132/ 36

Slide 45

Slide 45 text

@alsothings 35 Mash Boil Ferment Package http://www.flickr.com/photos/imorgan73/3624103555/ http://www.flickr.com/photos/grufnik/3412434904/ http://www.flickr.com/photos/cizauskas/2937374507/ http://www.flickr.com/photos/worldofjan/4655523132/ 36

Slide 46

Slide 46 text

@alsothings 35 Mash Boil Ferment Package http://www.flickr.com/photos/imorgan73/3624103555/ http://www.flickr.com/photos/grufnik/3412434904/ http://www.flickr.com/photos/cizauskas/2937374507/ http://www.flickr.com/photos/worldofjan/4655523132/ 36

Slide 47

Slide 47 text

@alsothings 35 Mash Boil Ferment Package http://www.flickr.com/photos/imorgan73/3624103555/ http://www.flickr.com/photos/grufnik/3412434904/ http://www.flickr.com/photos/cizauskas/2937374507/ http://www.flickr.com/photos/worldofjan/4655523132/ 36

Slide 48

Slide 48 text

@alsothings judgement! 36 http://www.flickr.com/photos/capnvynl/5585773172/ 37

Slide 49

Slide 49 text

@alsothings http://ratebeer.com 37

Slide 50

Slide 50 text

@alsothings 38

Slide 51

Slide 51 text

@alsothings 39

Slide 52

Slide 52 text

@alsothings http://ratebeer.com 40 https://github.com/ gearmonkey/consume-rBeer

Slide 53

Slide 53 text

@alsothings 41 http://www.flickr.com/photos/afagen/3002609890/ recommending music a bit about beer early attempts

Slide 54

Slide 54 text

@alsothings collaborative filtering 42

Slide 55

Slide 55 text

@alsothings using https://github.com/ ocelma/python-recsys 43

Slide 56

Slide 56 text

@alsothings 44 some practical advice

Slide 57

Slide 57 text

@alsothings 45

Slide 58

Slide 58 text

@alsothings 46 Name ratebeer ID distance BrewDog Alice Porter 132458 0.900 BrewDog Trashy Blonde 87321 0.884 BrewDog IPA Is Dead - Citra 138896 0.879 BrewDog IPA Is Dead - Bramling X 138897 0.876 BrewDog IPA Is Dead - Nelson Sauvin 138900 0.867 By topline rating

Slide 59

Slide 59 text

@alsothings 47 neat, but…

Slide 60

Slide 60 text

@alsothings 48 Name ratebeer ID distance Belhaven Twisted Thistle IPA 83551 0.779 Nils Oscar Hop Yard IPA 110575 0.756 Fuller’s Bengal Lancer 118513 0.770 Black Isle Goldeneye Pale Ale 72810 0.766 Meantime Yakima Red 141838 0.765 No BrewDog

Slide 61

Slide 61 text

@alsothings 49 neat, but…

Slide 62

Slide 62 text

@alsothings 50 Name ratebeer ID distance Nils Oscar Hop Yard IPA 110575 0.756 Thornbridge Jaipur 48795 0.723 De Molen Vuur & Vlam ‘Fire & Flames’ 105663 0.704 The Kernel India Pale Ale Citra 137414 0.684 Amager IPA 98251 0.678 only IPAs

Slide 63

Slide 63 text

@alsothings 51 Name ratebeer ID distance Nils Oscar Hop Yard IPA 110575 0.748 Thornbridge Jaipur 48795 0.714 De Molen Vuur & Vlam ‘Fire & Flames’ 105663 0.706 The Kernel India Pale Ale Citra 137414 0.683 Amager IPA 98251 0.679 By aroma rating

Slide 64

Slide 64 text

@alsothings 52 Name ratebeer ID distance Nils Oscar Hop Yard IPA 110575 0.776 Thornbridge Jaipur 48795 0.697 De Molen Vuur & Vlam ‘Fire & Flames’ 105663 0.694 Amager IPA 98251 0.682 The Kernel India Pale Ale Citra 137414 0.676 By appearance rating

Slide 65

Slide 65 text

@alsothings 53 Name ratebeer ID distance Nils Oscar Hop Yard IPA 110575 0.754 Thornbridge Jaipur 48795 0.727 De Molen Vuur & Vlam ‘Fire & Flames’ 105663 0.708 The Kernel India Pale Ale Citra 137414 0.678 Amager IPA 98251 0.671 By taste rating

Slide 66

Slide 66 text

@alsothings 54 Name ratebeer ID distance Nils Oscar Hop Yard IPA 110575 0.761 Thornbridge Jaipur 48795 0.723 De Molen Vuur & Vlam ‘Fire & Flames’ 105663 0.704 Amager IPA 98251 0.687 The Kernel India Pale Ale Citra 137414 0.670 By palette rating

Slide 67

Slide 67 text

@alsothings Conclusions! 55

Slide 68

Slide 68 text

@alsothings balance between relevant and non-obvious 56

Slide 69

Slide 69 text

@alsothings Be Useful! 57

Slide 70

Slide 70 text

@alsothings If you like 58

Slide 71

Slide 71 text

@alsothings 59

Slide 72

Slide 72 text

@alsothings then you’ll probably enjoy 60

Slide 73

Slide 73 text

@alsothings 61 or

Slide 74

Slide 74 text

fin. http://howtobrew.com http://ratebeer.com http://bjcp.org http://www.flickr.com/photos/epicbeer/25992909 http://www.dtic.upf.edu/~ocelma/PhD/ http://www.slideshare.net/plamere/music- recommendation-and-discovery