Changes

Jump to navigation Jump to search
661 bytes added ,  06:18, 17 December 2020
Line 184: Line 184:  
If we know how the nutritional data for a product is reported, we can normalise that data. And with the normalised data we have a consistent dataset, which can be used to get the real nutritional values.
 
If we know how the nutritional data for a product is reported, we can normalise that data. And with the normalised data we have a consistent dataset, which can be used to get the real nutritional values.
 
=== Categorisation ===
 
=== Categorisation ===
 +
The first step to categorise each product into each of the groups.
 +
 +
The ''per volumetric serving group'' is the easiest. We need to know the type of nutritional table that has been used to extract the data from. Unfortunately this is not registered, so we need to find a proxy for this.
 +
 +
We could use the serving size field for this: if it contains ml, it might be taken from a per serving nutritional table. I have seen exceptions however.
 +
 +
A better proxy is the existence of the transfat field. If there is data in that field, it is most likely a US or Canadian style nutritional table. Again this not a guarantee as other countries mark transbfta as well.
 +
 
=== Normalisation ===
 
=== Normalisation ===
 
We need to convert the volumetric data to weight data. For this we can use the correction factors, which we determined earlier:
 
We need to convert the volumetric data to weight data. For this we can use the correction factors, which we determined earlier:
3,393

edits

Navigation menu