Difference between revisions of "Category/Fruits/Bananas"

From Open Food Facts wiki
Jump to navigation Jump to search
 
(21 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
The product names should contain the word '''Bananas''' or something related. Analysing these product names might help to find wrongly classified products or identify new subcategories. This should be done for each language. A [https://www.wordclouds.com word cloud] gives a first impression.
 
The product names should contain the word '''Bananas''' or something related. Analysing these product names might help to find wrongly classified products or identify new subcategories. This should be done for each language. A [https://www.wordclouds.com word cloud] gives a first impression.
 
<gallery>
 
<gallery>
WordcloudAlmondsEN20241206.png|English
+
WordcloudBananasNL20250107.png|Dutch
 +
WordcloudBananasEN20250107.jpg|English
 +
WordcloudBananasFR20250107.png|French
 +
WordcloudBananasDE20250107.png|German
 +
WordcloudBananasIT20250107.png|Italian
 +
WordcloudBananasES20250107.png|Spanish
 
</gallery>
 
</gallery>
  
Line 41: Line 46:
 
=== Convenience categories ===
 
=== Convenience categories ===
 
Convenience categories are categories that can be expressed in terms of two and more facets, but exist to help the user entering categories
 
Convenience categories are categories that can be expressed in terms of two and more facets, but exist to help the user entering categories
* [https://world.openfoodfacts.org/category/raw-almonds Raw almonds] - not roasted, unsalted and unblanched;
+
* [https://world.openfoodfacts.org/category/bananas-fresh-whole-Cavendish Bananas(fresh whole Cavendish)] - fresh whole Cavendish bananas;
* [https://world.openfoodfacts.org/category/roasted-and-salted-almonds Roasted and salted almonds] - salted and roasted;
 
  
 
=== Related categories ===
 
=== Related categories ===
Line 60: Line 64:
  
 
=== Subcategories graph ===
 
=== Subcategories graph ===
[[File:AlmondsCategoriesGraph.png|400 px|thumb|center|Almonds subcategories graph]]
+
[[File:CategoryBananas.png|400 px|thumb|center|Bananas]]
[https://graphonline.top/en/?graph=nmZosgsfgENFgbBe Link]
+
[http://graphonline.top/en/?graph=RmeZftJjVRgpZZrp Link]
  
 
== Ingredients ==
 
== Ingredients ==
Line 80: Line 84:
  
 
== Nutritional information ==
 
== Nutritional information ==
[[File: AlmondsNutritionalProfile20241210.png|600px|thumb|center|Almonds nutritional profile]]
+
[[File: BananasViolinplot.png|600px|thumb|center|Bananas nutritional profile]]
 
The plots seem to suggest that there are two nutritional subcategories.
 
The plots seem to suggest that there are two nutritional subcategories.
=== Almonds ===
+
=== Bananas ===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
!
 
!
Line 95: Line 99:
 
|-
 
|-
 
|Energy (kJ/100g)
 
|Energy (kJ/100g)
|246
+
|122
|2410
+
|360
|2570
+
|406
|2710
+
|406
|3290
+
|447
|300
+
|46
|2110
+
|314
|3010
+
|452
 
|-
 
|-
 
|Fat (%)
 
|Fat (%)
|1
+
|0
|49.9
+
|0.1
|53
+
|0.2
|56.3
+
|0.5
|82.1
+
|0.625
|6.4
+
|0.4
|43.5
+
|0
|62.7
+
|0.9
 
|-
 
|-
 
|Saturated fat (%)
 
|Saturated fat (%)
 
|0
 
|0
|3.57
+
|0
|4
+
|0.1
|5
+
|0.1
|34.8
+
|0.133
|1.43
+
|0.1
|2.14
+
|0
|7.14
+
|0.2
 
|-
 
|-
 
|Carbohydrates (%)
 
|Carbohydrates (%)
|1.5
+
|12.9
|4.3
+
|19.6
|10
+
|21
|21.5
+
|23
|61
+
|32
|17.2
+
|3.4
|0
+
|16.2
|38.7
+
|26.4
 
|-
 
|-
 
|Sugars (%)
 
|Sugars (%)
|0
+
|7.89
|3.1
+
|12.2
|4.1
+
|16
|4.9
+
|17.8
 +
|20.9
 +
|5.6
 +
|6.6
 
|23.4
 
|23.4
|1.8
 
|0.9
 
|6.7
 
 
|-
 
|-
 
|Fiber (%)
 
|Fiber (%)
 +
|1
 +
|1.4
 +
|2.6
 +
|3.1
 +
|4
 +
|1.7
 
|0
 
|0
|8.6
+
|4.8
|10.9
 
|13.3
 
|42.9
 
|4.7
 
|3.9
 
|18
 
 
|-
 
|-
 
|Proteins (%)
 
|Proteins (%)
|0.02
+
|0
|20
+
|1
|21.4
+
|1.2
|25.8
+
|1.2
|53
+
|3.1
|5.8
+
|0.2
|14.2
+
|1
|31.6
+
|1.4
 
|-
 
|-
 
|Salt (%)
 
|Salt (%)
Line 168: Line 172:
 
|0
 
|0
 
|0.01
 
|0.01
|1.07
+
|0.032
|25.8
+
|0.1
|1.07
+
|0.032
 
|0
 
|0
|2.14
+
|0.064
 
|}
 
|}
 
* V<sub>ipd</sub> = the interpercentile distance (V<sub>90%</sub> - V<sub>10%</sub>)
 
* V<sub>ipd</sub> = the interpercentile distance (V<sub>90%</sub> - V<sub>10%</sub>)
 
* V<sub>lower</sub> = V<sub>10%</sub> - V<sub>ipd</sub>
 
* V<sub>lower</sub> = V<sub>10%</sub> - V<sub>ipd</sub>
 
* V<sub>upper</sub> = V<sub>90%</sub> + V<sub>ipd</sub>
 
* V<sub>upper</sub> = V<sub>90%</sub> + V<sub>ipd</sub>
The distribution of proteins seem to suggest a subcategory (see the violin plots).
 
  
 
=== Nutrition score ===
 
=== Nutrition score ===
<gallery>
+
<gallery widths=300>
AlmondsNutritionScore.png|Nutrition score
+
BananasNutritionScore.png|Nutrition score
AlmondsNutritionScoreAdded.png |Median nutrition score components
+
BananasNutritionScore2.png |Median nutrition score components
 
</gallery>
 
</gallery>
The Nutrition Score suggests varies between C (146 products) and D (186 products). It is not clear whether Pine nuts should be taken into account as nuts. This would move all a score down.
+
The Nutrition Score suggests varies between A (168 products) and C (21 products). There seems to be an issue with marking all Bananas as Fruit for the Score. This should move most products to Nutriscore A.
The median Nutriscore is Dark Green (A) if it counts as Nuts.
+
 
 +
The median Nutriscore is Dark Green (A) if it counts as Fruits.
  
 
=== Median nutritional values ===
 
=== Median nutritional values ===
<gallery>
+
[[File:BananasProfile.png|400px|thumb|center]]
AlmondsMedianNutrititionalProfile.png |Median nutritional profile
 
AlmondsEnergyProfile.png |Energy profile
 
</gallery>
 
The two pie charts show which macronutrients make up Almonds (the missing is assumed to be water) and the origin of the energy in Almonds.
 
  
 
=== Comparing categories ===
 
=== Comparing categories ===
Line 203: Line 203:
 
** [https://world.openfoodfacts.org/data-quality-error/ingredients-single-ingredient-from-category-does-not-match-actual-ingredients/category/bananas-fresh-whole-Cavendish- Bananas(fresh whole Cavendish)] should only contain the ingredient ''cavendish-banana'';
 
** [https://world.openfoodfacts.org/data-quality-error/ingredients-single-ingredient-from-category-does-not-match-actual-ingredients/category/bananas-fresh-whole-Cavendish- Bananas(fresh whole Cavendish)] should only contain the ingredient ''cavendish-banana'';
 
* Internal opposites:
 
* Internal opposites:
** [https://world.openfoodfacts.org/category/almonds(unshelled) Almonds(unshelled)] and [https://world.openfoodfacts.org/category/almonds(shelled) Almonds(shelled)] should not be assigned simultaneously;
+
** [https://world.openfoodfacts.org/category/fresh-bananas Bananas(fresh)], [https://world.openfoodfacts.org/category/dried-bananas Bananas(dried)] and [https://world.openfoodfacts.org/category/frozen-banans Bananas(frozen)] should not be assigned simultaneously;
** [https://world.openfoodfacts.org/category/almonds(whole) Whole almonds] and [https://world.openfoodfacts.org/category/almond-flakes Almond flakes] should not be assigned simultaneously;
 
** [https://world.openfoodfacts.org/category/almonds(blanched) Blanched almonds] and [https://world.openfoodfacts.org/category/almonds(non-blanched) Unblanched almonds] should not be assigned simultaneously;
 
** [https://world.openfoodfacts.org/category/almonds(roasted) Roasted almonds] and [https://world.openfoodfacts.org/category/almonds(unroasted) Almonds(unroasted)] should not be assigned simultaneously;
 
** [https://world.openfoodfacts.org/category/almonds(salted) Salted almonds] and [https://world.openfoodfacts.org/category/almonds(unsalted) Almonds(unsalted)] should not be assigned simultaneously;
 
** [https://world.openfoodfacts.org/category/marcona-almonds Marcona almonds] and [https://world.openfoodfacts.org/category/nonpareil-almonds Nonpareil almonds] should not be assigned simultaneously;
 
  
 
* Oneside opposites(these are categories which are incompatible and which are often due to adding an ingredient as a category):
 
* Oneside opposites(these are categories which are incompatible and which are often due to adding an ingredient as a category):
** [https://world.openfoodfacts.org/category/chocolate-covered-almonds Chocolate covered almonds];
+
** [https://world.openfoodfacts.org/category/beverages Beverages] - Banana nectars;
** [https://world.openfoodfacts.org/category/almond-butters Almond butters];
+
** [https://world.openfoodfacts.org/category/cakes Cakes] - Banana cakes;
** [https://world.openfoodfacts.org/category/caramelized-almonds Caramelized almonds];
+
** [https://world.openfoodfacts.org/category/candies Candies] - Gummy bananas;
** [https://world.openfoodfacts.org/category/walnuts Walnuts];
+
** [https://world.openfoodfacts.org/category/desserts Desserts] - Banana yoghurts;
** [https://world.openfoodfacts.org/category/peanuts Peanuts];
 
** [https://world.openfoodfacts.org/category/hazelnuts Hazelnuts];
 
 
 
== Sales format ==
 
The sales format might depend on the shop. All are sold by package.
 
  
Sold by weight are:
+
== Bulk sales ==
- Shelled, non-blanched, unroasted almonds;
+
* Bananas(fresh whole Cavendish) are sold by package, by weight and per item;
- Shelled, non-blanched, roasted almonds;
 
  
 
== Regular maintenance ==
 
== Regular maintenance ==
Line 229: Line 218:
  
 
=== Generic errors ===
 
=== Generic errors ===
* [https://world.openfoodfacts.org/category/almonds/data-quality-errors Data quality errors] that can be detected;
+
* [https://world.openfoodfacts.org/category/bananas/data-quality-errors Data quality errors] that can be detected;
  
 
=== Hunger Game ===
 
=== Hunger Game ===
Line 243: Line 232:
  
 
=== IPD nutritional envelope ===
 
=== IPD nutritional envelope ===
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=energy&nutriment_compare_0=lt&nutriment_value_0=2110&nutriment_1=energy&nutriment_compare_1=gt&nutriment_value_1=3010&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Energy envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=energy&nutriment_compare_0=lt&nutriment_value_0=314&nutriment_1=energy&nutriment_compare_1=gt&nutriment_value_1=452&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Energy envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=fat&nutriment_compare_0=lt&nutriment_value_0=43.5&nutriment_1=fat&nutriment_compare_1=gt&nutriment_value_1=62.7&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Fat envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=fat&nutriment_compare_0=lt&nutriment_value_0=43.5&nutriment_1=fat&nutriment_compare_1=gt&nutriment_value_1=62.7&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Fat envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=saturated-fat&nutriment_compare_0=lt&nutriment_value_0=2.14&nutriment_1=saturated-fat&nutriment_compare_1=gt&nutriment_value_1=7.14&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Saturated fat envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=saturated-fat&nutriment_compare_0=lt&nutriment_value_0=2.14&nutriment_1=saturated-fat&nutriment_compare_1=gt&nutriment_value_1=7.14&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Saturated fat envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=carbohydrates&nutriment_compare_0=lt&nutriment_value_0=0&nutriment_1=carbohydrates&nutriment_compare_1=gt&nutriment_value_1=38.7&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Carbohydrates envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=carbohydrates&nutriment_compare_0=lt&nutriment_value_0=15.2&nutriment_1=carbohydrates&nutriment_compare_1=gt&nutriment_value_1=26.4&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Carbohydrates envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=sugars&nutriment_compare_0=lt&nutriment_value_0=0.9&nutriment_1=sugars&nutriment_compare_1=gt&nutriment_value_1=6.7&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Sugars envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=sugars&nutriment_compare_0=lt&nutriment_value_0=6.6&nutriment_1=sugars&nutriment_compare_1=gt&nutriment_value_1=23.4&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Sugars envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=fiber&nutriment_compare_0=lt&nutriment_value_0=3.9&nutriment_1=fiber&nutriment_compare_1=gt&nutriment_value_1=18&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Fiber envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=fiber&nutriment_compare_0=lt&nutriment_value_0=0&nutriment_1=fiber&nutriment_compare_1=gt&nutriment_value_1=4.8&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Fiber envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds%20nuts&nutriment_0=proteins&nutriment_compare_0=lt&nutriment_value_0=14.2&nutriment_1=proteins&nutriment_compare_1=gt&nutriment_value_1=31.6&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Proteins envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=proteins&nutriment_compare_0=lt&nutriment_value_0=1&nutriment_1=proteins&nutriment_compare_1=gt&nutriment_value_1=1.4&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Proteins envelope check]
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=almonds&nutriment_0=salt&nutriment_compare_0=gt&nutriment_value_0=2.14&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Salt envelope check]
+
* [https://world.openfoodfacts.org/cgi/search.pl?action=process&tagtype_0=categories&tag_contains_0=contains&tag_0=bananas%20nuts&nutriment_0=proteins&nutriment_compare_0=lt&nutriment_value_0=0&nutriment_1=proteins&nutriment_compare_1=gt&nutriment_value_1=0.064&sort_by=unique_scans_n&page_size=20&axis_x=energy&axis_y=nutrition-score-fr&series_nutrition_grades=on Salt envelope check]
  
 
== Issues ==
 
== Issues ==
* A category fresh bananas has been added in order to distinguish from dried bananas etc;
+
* A category '''Fresh bananas''' has been added in order to distinguish from dried bananas etc;
* In the shop mostly Cavendish bananas are sold, added as category;
+
* A category '''Whole bananas''' added to distinguish from pulp and flour;
* Distinguish between dried bananas and banana chips? One has frying oil as extra ingredient? [https://world.openfoodfacts.org/category/dried-bananas en:Dried bananas] can have [https://world.openfoodfacts.org/category/bananas en:Bananas] as parent.
+
* In the shop mostly '''Cavendish bananas''' are sold, added as category;
 +
* For convenience category '''Bananas(fresh whole Cavendish)''' added. Most products fall in this category;
 +
* '''Dried bananas''' put outside Bananas. It has another nutritional profile;
 +
* Distinguish between '''Dried bananas''' and '''Banana chips'''? One has frying oil as extra ingredient? Can only been done after implementing a new taxonomy;
 +
* We could have a different mapping for Bananas;
  
 
== References ==
 
== References ==

Latest revision as of 16:30, 7 January 2025

The category Bananas contains products based on the elongated, edible fruit – botanically a berry – produced by several kinds of large treelike herbaceous flowering plants in the genus Musa.

The category contains 802 products on 4 January 2025.

Product names

The product names should contain the word Bananas or something related. Analysing these product names might help to find wrongly classified products or identify new subcategories. This should be done for each language. A word cloud gives a first impression.

Categorisation

The categories need a future check after the category taxonomy has been updated (4 jan 2025).

Super-categories

Ingredients-based super categories

The super (parent) categories of Bananas is:

Note that Pine nuts do NOT have Seeds as parent.

Usage-based super categories

Dried bananas can be seen as sweet snacks.

Sub-categories

These subcategories are orthogonal: a product can be assigned one or more of the subcategories. This category has several subcategories:

Convenience categories

Convenience categories are categories that can be expressed in terms of two and more facets, but exist to help the user entering categories

Related categories

Many categories have Banana(s) in their name:

Subcategories graph

Bananas

Link

Ingredients

The ingredient Banana occurs in some 1398 categories.

The ingredients for Bananas.

Bananas

  • Minimal ingredients
  • Optional ingredients
    • none
  • Disallowed ingredients

Production process/labels

not yet looked at

Origin

Nutritional information

Bananas nutritional profile

The plots seem to suggest that there are two nutritional subcategories.

Bananas

min 10% med 90% max ipd lower upper
Energy (kJ/100g) 122 360 406 406 447 46 314 452
Fat (%) 0 0.1 0.2 0.5 0.625 0.4 0 0.9
Saturated fat (%) 0 0 0.1 0.1 0.133 0.1 0 0.2
Carbohydrates (%) 12.9 19.6 21 23 32 3.4 16.2 26.4
Sugars (%) 7.89 12.2 16 17.8 20.9 5.6 6.6 23.4
Fiber (%) 1 1.4 2.6 3.1 4 1.7 0 4.8
Proteins (%) 0 1 1.2 1.2 3.1 0.2 1 1.4
Salt (%) 0 0 0.01 0.032 0.1 0.032 0 0.064
  • Vipd = the interpercentile distance (V90% - V10%)
  • Vlower = V10% - Vipd
  • Vupper = V90% + Vipd

Nutrition score

The Nutrition Score suggests varies between A (168 products) and C (21 products). There seems to be an issue with marking all Bananas as Fruit for the Score. This should move most products to Nutriscore A.

The median Nutriscore is Dark Green (A) if it counts as Fruits.

Median nutritional values

BananasProfile.png

Comparing categories

Is there a difference between the banana varieties?

Quality checks

Categorisation errors

  • Oneside opposites(these are categories which are incompatible and which are often due to adding an ingredient as a category):

Bulk sales

  • Bananas(fresh whole Cavendish) are sold by package, by weight and per item;

Regular maintenance

Once the category has been cleaned up one can perform regular maintenance by visiting the links below and do additional repairs.

Generic errors

Hunger Game

Classify products which Robotoff has identify as category Bananas:

Extracting data

  • Nutritional values: products for which the nutritional values can be extracted from the associated image;
  • Ingredients: products for which the ingredients can be extracted from the associated image;

Superfluous categories

Only the categories that belong to the parents should be present as category. Checking the categories list might help finding wrong one.

IPD nutritional envelope

Issues

  • A category Fresh bananas has been added in order to distinguish from dried bananas etc;
  • A category Whole bananas added to distinguish from pulp and flour;
  • In the shop mostly Cavendish bananas are sold, added as category;
  • For convenience category Bananas(fresh whole Cavendish) added. Most products fall in this category;
  • Dried bananas put outside Bananas. It has another nutritional profile;
  • Distinguish between Dried bananas and Banana chips? One has frying oil as extra ingredient? Can only been done after implementing a new taxonomy;
  • We could have a different mapping for Bananas;

References