Fold 0 - Understanding why coefficient 6479 was selected
Tag: HALLOWEEN
Selected Coefficient: 6479
Taxonomy Path: 1.3.1
Taxonomy Name: Apparel & Accessories > Costumes & Accessories > Costume Accessories
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? |
|---|---|---|---|---|---|
| 6479 | 2.012658 | 1.3.1 | 1.3.1 (6241 + 3*79 + 1) | Apparel & Accessories > Costumes & Accessories > Costume Accessories | Yes |
| 199871 | 2.012658 | 1.2.32 | 32.2.1 (32*79^2 + 2*79 + 1) | Apparel & Accessories > Clothing Accessories > Fashion Face Masks | No |
| 0 | 3.000000 | 0 | 0 (0) | No | |
| 362229 | 3.000000 | 14.3.58 | 58.3.14 (58*79^2 + 3*79 + 14) | Home & Garden > Decor > Seasonal & Holiday Decorations | No |
These are the training products that have the "HALLOWEEN" tag (processing sequence 1628). 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 |
|---|---|---|---|---|---|---|---|
| 13259 | White Stretch Spider Web Value Pack 1oz. | 1ct | 362229 | Home & Garden > Decor > Seasonal & Holiday Decorations | none | 355750 | none | |
| 13914 | Game Shapes Reusable Face Masks | 199871 | Apparel & Accessories > Clothing Accessories > Fashion Face Masks | none | 193392 | none | |
| 10740 | HALLOWEEN WITCH HAT | 6479 | Apparel & Accessories > Costumes & Accessories > Costume Accessories | none | 0 | none | |
| 8556 | Triple Moon - Magic Candle Holder | 0 | CANDLES, BEST SELLER, BLACK MAGIC, FATHERS DAY | -6479 | MOTHERS |