Fold 0 - Understanding why coefficient 336 was selected
Tag: BABY SHOWER GIFTS
Selected Coefficient: 336
Taxonomy Path: 4.4
Taxonomy Name: Baby & Toddler > Baby Safety
Products with this tag: 4
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? |
|---|---|---|---|---|---|
| 336 | 1.012048 | 4.4 | 4.4 (4*83 + 4) | Baby & Toddler > Baby Safety | Yes |
| 4 | 1.024096 | 4 | 4 (4) | No | |
| -1729554 | 3.000000 | -0.5.2.3 | -3.2.5.0 (-(3*83^3 + 2*83^2 + 5*83)) | No |
These are the training products that have the "BABY SHOWER GIFTS" tag (processing sequence 4690). 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 |
|---|---|---|---|---|---|---|---|
| 18744 | Waves Cotton Sun Hat | 336 | Baby & Toddler > Baby Safety | none | 0 | none | |
| 18749 | White Cotton Sun Hat | 336 | Baby & Toddler > Baby Safety | none | 0 | none | |
| 18831 | Pink Crib Sheet | 4 | none | -332 | none | ||
| 18810 | Lamb Mini Nursery Pillow - Grey and White | -1729554 | HOLIDAY SALE | -1729890 | none |