Fold 2 - Understanding why coefficient 158271848 was selected
Tag: PIEDMONT
Selected Coefficient: 158271848
Taxonomy Path: 9.1.1.5.4
Taxonomy Name: Food, Beverages & Tobacco > Beverages > Alcoholic Beverages > Liquor & Spirits > Liqueurs
Products with this tag: 5
Unique residual values tried: 4
The algorithm tries each unique residual value as a candidate coefficient and selects the one with the lowest total p-adic loss. The selected row is highlighted.
| Candidate Value | Total P-adic Loss | Taxonomy Path | P-adic Expansion | Taxonomy Name | Selected? |
|---|---|---|---|---|---|
| 158271848 | 2.000002 | 9.1.1.5.4 | 4.5.1.1.9 (4*79^4 + 5*79^3 + 6241 + 79 + 9) | Food, Beverages & Tobacco > Beverages > Alcoholic Beverages > Liquor & Spirits > Liqueurs | Yes |
| 3457602 | 2.000004 | 9.1.1.7 | 7.1.1.9 (7*79^3 + 6241 + 79 + 9) | Food, Beverages & Tobacco > Beverages > Alcoholic Beverages > Wine | No |
| -3457602 | 4.000000 | -9.1.1.7 | -7.1.1.9 (-(7*79^3 + 6241 + 79 + 9)) | No | |
| 0 | 4.000000 | 0 | 0 (0) | No |
These are the training products that have the "PIEDMONT" tag (processing sequence 2704). The residual is the encoded taxonomy value minus all coefficients from previously processed tags.
| Product ID | Title | Residual Before | Taxonomy Before | Tags Already Processed | Residual After | Taxonomy After | Tags Not Yet Processed |
|---|---|---|---|---|---|---|---|
| 14970 | Vermouth di Torino Extra Dry 375ml | 158271848 | Food, Beverages & Tobacco > Beverages > Alcoholic Beverages > Liquor & Spirits > Liqueurs | none | 0 | none | |
| 14977 | Vermouth di Torino Rosso 375ml | 158271848 | Food, Beverages & Tobacco > Beverages > Alcoholic Beverages > Liquor & Spirits > Liqueurs | none | 0 | none | |
| 14896 | Gavi 2023 | 3457602 | Food, Beverages & Tobacco > Beverages > Alcoholic Beverages > Wine | none | -154814246 | none | |
| 15078 | Barolo Runcot Riserva 2016 | 0 | ORGANIC-WINES | -158271848 | none | ||
| 14879 | Castle' Barbera d'Alba 2022 | -3457602 | ORGANIC-WINES, ORDERING CRITICAL WINE | -161729450 | none |