Fold 0 - Understanding why coefficient 5 was selected
Tag: SNACK
Selected Coefficient: 5
Taxonomy Path: 5
Taxonomy Name: Bundles
Products with this tag: 3
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? |
|---|---|---|---|---|---|
| 5 | 2.000000 | 5 | 5 (5) | Bundles | Yes |
| 8980966 | 2.000000 | 9.2.17.18 | 18.17.2.9 (18*79^3 + 17*79^2 + 2*79 + 9) | Food, Beverages & Tobacco > Food Items > Snack Foods > Trail & Snack Mixes | No |
| 713159438 | 2.000000 | 52.4.36.24.18 | 18.24.36.4.52 (18*79^4 + 24*79^3 + 36*79^2 + 4*79 + 52) | No |
These are the training products that have the "SNACK" tag (processing sequence 4106). 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 |
|---|---|---|---|---|---|---|---|
| 3175 | The Hemp Farm Kiwi Hemp Hearts | 713159438 | DELICIOUS, ANTIOXIDANT, OMEGA, PALEO, SUPERFOOD | 713159433 | WELL-BEING, ANTI-INFLAMMATORY | ||
| 4855 | Chex Mix Snack Mix, Traditional, Savory Snack Bag, Family Size, 15 oz | 8980966 | Food, Beverages & Tobacco > Food Items > Snack Foods > Trail & Snack Mixes | none | 8980961 | none | |
| 17732 | GEMSTONE POPCORN | BUNDLE | 5 | Bundles | none | 0 | none |