Skip to content

Comment on Ask HN: What machine learning approach to use if you only got positive examples?parent

Comments

Thanks!. Your comment gave another idea. What if I take a cocktail recipe as a vote. I take all ingredients and create generate all possible pairs. Look for how many times the pair appear in cocktails. Treat those as votes. More votes means they go together really well.

Seems like a logical approach to me. Also once you get the data set built you could algorithmically generate new recipes. If one type of machine learning algorithm generates more pleasing new cocktails you have a winner. Just don't do all the testing yourself. We don't want to read the HN post explaining how 'sparkpluglabs' ended up in detox from unit testing!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.