Fold 2 - Understanding why coefficient 1004968 was selected
Tag: DARK CHOCOLATE
Selected Coefficient: 1004968
Taxonomy Path: 9.2.3.2
Taxonomy Name: Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate
Products with this tag: 6
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? |
|---|---|---|---|---|---|
| 1004968 | 2.012658 | 9.2.3.2 | 2.3.2.9 (2*79^3 + 3*79^2 + 2*79 + 9) | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | Yes |
| 1023612 | 2.037975 | 9.1.6.2 | 2.6.1.9 (2*79^3 + 6*79^2 + 79 + 9) | Food, Beverages & Tobacco > Beverages > Hot Chocolate > Hot Chocolate Mixes | No |
| 0 | 4.012658 | 0 | 0 (0) | No | |
| 18644 | 4.012658 | 0.78.2 | 2.78.0 (2*79^2 + 78*79) | No |
These are the training products that have the "DARK CHOCOLATE" tag (processing sequence 2368). 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 |
|---|---|---|---|---|---|---|---|
| 2773 | ChocoEve Organic Hot Chocolate - Dark | 1023612 | Food, Beverages & Tobacco > Beverages > Hot Chocolate > Hot Chocolate Mixes | none | 18644 | CHOCOEVE | |
| 3458 | Couverture Dark Chocolate Buttons Bag - 250g | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3459 | Dark Mini Eggs in Dark Chocolate Half Egg Gift Box - 140g | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3530 | Roasted Almonds in Dark Chocolate Gift Cube - 90g | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 2770 | ChocoEve Organic Hot Chocolate | 18644 | MILK CHOCOLATE | -986324 | CHOCOEVE | ||
| 3443 | Grand Marnier Dark Chocolate Truffle | 0 | TRUFFLES | -1004968 | none |