Fold 4 - Understanding why coefficient 1004968 was selected
Tag: MILK
Selected Coefficient: 1004968
Taxonomy Path: 9.2.3.2
Taxonomy Name: Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate
Products with this tag: 9
Unique residual values tried: 3
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 | 3.000000 | 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 |
| 0 | 7.000000 | 0 | 0 (0) | No | |
| 879898 | 8.000000 | 75.77.61.1 | 1.61.77.75 (493039 + 61*79^2 + 77*79 + 75) | No |
These are the training products that have the "MILK" tag (processing sequence 2067). 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 |
|---|---|---|---|---|---|---|---|
| 3662 | Lolly - Canadian | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3602 | Treats - 34% Milk Chocolate Assorted Fish | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3604 | Treats - 34% Milk Chocolate Assorted Flowers | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | MOTHER'S DAY | |
| 3612 | Treats - 34% Milk Chocolate Sun and Moon | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3523 | Truffles - Champagne Bottle 60 Piece - PICK UP IN STORE ONLY | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3661 | Treats - Fish Large Milk Chocolate - PICK-UP IN STORE ONLY | 1004968 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 0 | none | |
| 3686 | Salted Caramels - 34% Milk Chocolate, made with organic cane sugar and Vancouver Island Sea Salt - 8 pieces | 879898 | AWARD WINNING | -125070 | MOTHER'S DAY | ||
| 3673 | Tablet - Milk Chocolate, 34% | 0 | CHOCOLATE TABLETS | -1004968 | MOTHER'S DAY | ||
| 3641 | Nuts - Fabbo Bar Milk Chocolate Hazelnut Bar | 0 | CHOCOLATE TABLETS | -1004968 | none |