Difference between revisions of "Recipe/Example/Petit Beurre"
Jump to navigation
Jump to search
(Created) |
|||
Line 1: | Line 1: | ||
In an ingredient list often the amount (fraction) of ingredients is not specified. Knowing this is useful to get a better handle on various score. The question is now how we could estimate these fractions using the information that we have (nutritional values of separate ingredients from Ciqual and the total values for a product (a recipe). | In an ingredient list often the amount (fraction) of ingredients is not specified. Knowing this is useful to get a better handle on various score. The question is now how we could estimate these fractions using the information that we have (nutritional values of separate ingredients from Ciqual and the total values for a product (a recipe). | ||
+ | |||
+ | A recipe consists of N ingredients, numbered i=0 to N-1. | ||
+ | |||
+ | A recipe has M nutrients j=0 to M-1. | ||
+ | |||
+ | Each ingredient contributes y<sub>ij</sub> to nutrient j. | ||
+ | |||
+ | In a recipe an ingredient has a fraction x<sub>i</sub>. | ||
+ | |||
+ | The total values for for a nutrient Y<sub>j</sub> = SUM<sub>i=0</sub><sup>N-1</sup> x<sub>i</sub>y<sub>ij</sub> |
Revision as of 16:40, 16 January 2025
In an ingredient list often the amount (fraction) of ingredients is not specified. Knowing this is useful to get a better handle on various score. The question is now how we could estimate these fractions using the information that we have (nutritional values of separate ingredients from Ciqual and the total values for a product (a recipe).
A recipe consists of N ingredients, numbered i=0 to N-1.
A recipe has M nutrients j=0 to M-1.
Each ingredient contributes yij to nutrient j.
In a recipe an ingredient has a fraction xi.
The total values for for a nutrient Yj = SUMi=0N-1 xiyij