torralba-lab / im2recipe

Code supporting the CVPR 2017 paper "Learning Cross-modal Embeddings for Cooking Recipes and Food Images"
MIT License
374 stars 89 forks source link

Help me #13

Closed Hossam-Alansary closed 6 years ago

Hossam-Alansary commented 6 years ago

I need python code for the following problem

Kayla has completed her analysis of the system. She has decided to start the design of the new system with the design of the software. From her analysis she knows that one thing the system has to do is to calculate the required amount of each ingredient. She designs an algorithm that • reads a file to get the total number of different ingredients Sebastian keeps in stock (Num_Ingredients) • for each bread item (ProductID) ordered, uses recipe data and the number of items ordered (Num Ord) to • calculate the amount of each ingredient required for that item (Amount_ Req) • adds the ingredient amounts required for each item to get the total quantity needed for each ingredient Qty ()

The procedure will have passed to it data that lists the amount of each ingredient required for every bread item made by the bakery (Product_Recipes)

Hossam-Alansary commented 6 years ago

any help

nhynes commented 6 years ago

Hi @Hossambeso, it sounds like your problem is generic enough that you can try posting it on StackOverflow (although they might suspect that it's a homework problem and not answer it ;).