Fold 0 - Understanding why coefficient 3457681 was selected
Tag: VALENTINE'S DAY
Selected Coefficient: 3457681
Taxonomy Path: 9.2.1.7
Taxonomy Name: Food, Beverages & Tobacco > Food Items > Bakery > Cupcakes
Products with this tag: 4
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? |
|---|---|---|---|---|---|
| 3457681 | 2.000002 | 9.2.1.7 | 7.1.2.9 (7*79^3 + 6241 + 2*79 + 9) | Food, Beverages & Tobacco > Food Items > Bakery > Cupcakes | Yes |
| 40928645 | 2.000002 | 9.2.1.4.1 | 1.4.1.2.9 (38950081 + 4*79^3 + 6241 + 2*79 + 9) | Food, Beverages & Tobacco > Food Items > Bakery > Cakes & Dessert Bars > Cakes | No |
| 491933 | 2.012658 | 0.65.78 | 78.65.0 (78*79^2 + 65*79) | No | |
| 38950081 | 2.012658 | 0.0.0.0.1 | 1.0.0.0.0 (38950081) | No |
These are the training products that have the "VALENTINE'S DAY" tag (processing sequence 3867). 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 |
|---|---|---|---|---|---|---|---|
| 21732 | Vanilla Fudge Cake | 40928645 | Food, Beverages & Tobacco > Food Items > Bakery > Cakes & Dessert Bars > Cakes | none | 37470964 | none | |
| 21548 | Apple Crumble | 38950081 | TARTS | 35492400 | none | ||
| 21584 | Chocolate Raspberry Truffle Cupcake | 3457681 | Food, Beverages & Tobacco > Food Items > Bakery > Cupcakes | none | 0 | none | |
| 7449 | 2.5" Carnation - White | 491933 | BASE_GUMPASTE, BLOOM COLLECTION | -2965748 | none |