Fold 0 - Understanding why coefficient 4 was selected
Tag: CLASSIC GINGHAM
Selected Coefficient: 4
Taxonomy Path: 4
Taxonomy Name:
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? |
|---|---|---|---|---|---|
| 4 | 1.012048 | 4 | 4 (4) | Yes | |
| 7889 | 1.012048 | 4.12.1 | 1.12.4 (6889 + 12*83 + 4) | No | |
| 0 | 2.000000 | 0 | 0 (0) | No |
These are the training products that have the "CLASSIC GINGHAM" tag (processing sequence 3788). 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 |
|---|---|---|---|---|---|---|---|
| 30600 | Custom Made Personalised Fairies Quilt | 7889 | none | 7885 | HANDMADE CHILD QUILT, COT BEDDING, NURSERY BEDDING, BRIGHT COLOURS | ||
| 30687 | Personalised Custom Made Flowers & Pink Gingham Quilt | 4 | none | 0 | COT BEDDING | ||
| 30646 | Hand Embroidered Roses Heart Blanket | 0 | COT BLANKET | -4 | NURSERY BEDDING |