Fold 4 - Understanding why coefficient 84316077 was selected
Tag: CHICKEN
Selected Coefficient: 84316077
Taxonomy Path: 9.2.1.13.2
Taxonomy Name: Food, Beverages & Tobacco > Food Items > Bakery > Pies & Tarts > Pies
Products with this tag: 3
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? |
|---|---|---|---|---|---|
| 84316077 | 0.000160 | 9.2.1.13.2 | 2.13.1.2.9 (2*79^4 + 13*79^3 + 6241 + 2*79 + 9) | Food, Beverages & Tobacco > Food Items > Bakery > Pies & Tarts > Pies | Yes |
| 1079860 | 0.000320 | 9.2.15.2 | 2.15.2.9 (2*79^3 + 15*79^2 + 2*79 + 9) | Food, Beverages & Tobacco > Food Items > Prepared Foods > Prepared Meals & Entrées | No |
These are the training products that have the "CHICKEN" tag (processing sequence 2461). 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 |
|---|---|---|---|---|---|---|---|
| 21575 | Chicken and Leek Pie | 84316077 | Food, Beverages & Tobacco > Food Items > Bakery > Pies & Tarts > Pies | none | 0 | PIE, SAVOURY | |
| 21576 | Chicken, Bacon & Mushroom Pie | 84316077 | Food, Beverages & Tobacco > Food Items > Bakery > Pies & Tarts > Pies | none | 0 | PIE, SAVOURY | |
| 21577 | Chicken & Mushroom Filo | 1079860 | Food, Beverages & Tobacco > Food Items > Prepared Foods > Prepared Meals & Entrées | none | -83236217 | SAVOURY |