[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How do I write a program where you input two or more cooking

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 20
Thread images: 2

File: habanero.jpg (41KB, 1355x900px) Image search: [Google]
habanero.jpg
41KB, 1355x900px
How do I write a program where you input two or more cooking ingredients and the program tells you if they go together or not?
>>
>>55526058
Query a database containing pairs of ingredients using an inputted list.

Shouldn't bee too difficult.
>>
>>55526089
How do you generate all the pairs?
>>
I usually ask a chef these questions.
>>
>>55526089
I think we need an algorithm. That database would be too enormous.
>>
I can't remember what it was but there's this website where you can put in some ingredients and it will return recipes with those ingredients
>>
>>55526399
That's a whole other problem and a much easier one. You draw from a pool of recipes and find those that match ingredients.
>>
>>55526058
Well, OP, first ask the question - how would *you* figure that out?
>>
>>55526127
No it wouldn't. Not if you normalize your tables and use proper data types, anyway.
>>
>>55526100
Write a program and feed it every recipe you can find, having it see what ingredients are commonly found together. In what proportions, and applicable flavor profiles.
>>
>>55526100
Well what the fuck do you mean by "go together"? AFAIK food is weird, you'd have to have a human analyze each pair and tell you. I don't think there's a math/algo way to determine if two foods "go together" or not, unless you're analyzing a cookbook or searching twitter posts for "make x with y today!" or something.
>>
>>>/ck/
>>
Nag IBM for an API.
https://www.ibmchefwatson.com
>>
>>55526058
As a avid chef, fuck you and die. Cooking will never, ever be automated, and we will neve reach a point where a computer can create dishes half as good as a trained chef. There's too many contradictory rules and undiscovered flavor combinations to ever use algorithms. I mean just 15 years ago, the Japanese discovered a new taste group (umami) in addition to sweet, salty, bitter, sour, and acidic. Chef's are continually traveling uncharted territory to come up with unexpected flavors and something fresh and new.

It'd be like an algorithm to make artwork. Kill yourself so fucking hard pham.
>>
Again, die
>>
>>55527355
Deep dream cooking. Expect it.
>>
>>55526058
This is known as a "flavor affinity" in the culinary world. There are books that have already done this sort of thing (see "the flavor Bible").

You might be able to make an algorithm that can pair ingredients based on the umami, salt, sweet, sour, and acidity levels of the ingredients. Possibly create a neural network or some form of deep learning bot.
>>
>>55527233
Well what if you split food into general categories, find which categories go well together and take it from there?
>>
>>55527355
Ehh, what's with the hostility. I'm not trying to replace chefs, I'm trying to make a personal app where I can input stuff in and somehow figure out if there's an algorithm that tells you which ingredients go together. I'd expand it later to include ratios. Basically I would make a program that would try to create recipes procedurally.
>>
>>55527355
check out this guy being scared of becoming obsolete haha
Thread posts: 20
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.