Fold 0 - Understanding why coefficient 20236 was selected
Tag: CHOCOLATE
Selected Coefficient: 20236
Taxonomy Path: 1.1.4
Taxonomy Name: Apparel & Accessories > Clothing > Dresses
Products with this tag: 2
Unique residual values tried: 2
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? |
|---|---|---|---|---|---|
| 20236 | 1.000000 | 1.1.4 | 4.1.1 (4*71^2 + 71 + 1) | Apparel & Accessories > Clothing > Dresses | Yes |
| 731096 | 1.000000 | 9.2.3.2 | 2.3.2.9 (2*71^3 + 3*71^2 + 2*71 + 9) | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | No |
These are the training products that have the "CHOCOLATE" tag (processing sequence 569). 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 |
|---|---|---|---|---|---|---|---|
| 2761 | Chocolate Pieces 4oz. | 731096 | Food, Beverages & Tobacco > Food Items > Candy & Chocolate > Chocolate | none | 710860 | none | |
| 1002 | Lysette Maxi | 20236 | Apparel & Accessories > Clothing > Dresses | none | 0 | FREE PEOPLEWE THE FREE, MAXI DRESSES |