Fold 0 - Understanding why coefficient 4 was selected
Tag: NEW BORN
Selected Coefficient: 4
Taxonomy Path: 4
Taxonomy Name: Baby & Toddler
Products with this tag: 7
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 | 2.025316 | 4 | 4 (4) | Baby & Toddler | Yes |
| 162 | 2.037975 | 4.2 | 2.4 (2*79 + 4) | Baby & Toddler > Baby Gift Sets | No |
| 31779 | 5.000000 | 21.7.5 | 5.7.21 (5*79^2 + 7*79 + 21) | Services > Professional Services > Marketing & Advertising | No |
These are the training products that have the "NEW BORN" tag (processing sequence 3539). 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 |
|---|---|---|---|---|---|---|---|
| 2054 | Swing Collection - Girls | 31779 | Services > Professional Services > Marketing & Advertising | none | 31775 | none | |
| 2059 | Swing Collection - Boys | 31779 | Services > Professional Services > Marketing & Advertising | none | 31775 | none | |
| 2051 | Starry Sky Newborn Collection - Girls | 162 | Baby & Toddler > Baby Gift Sets | none | 158 | none | |
| 2036 | Red Bow | 162 | Baby & Toddler > Baby Gift Sets | none | 158 | none | |
| 2052 | Starry Sky Newborn Collection - Boys | 4 | Baby & Toddler | none | 0 | none | |
| 2044 | Starry Newborn Collection - Boys | 4 | Baby & Toddler | none | 0 | none | |
| 2042 | Spring Blooms Newborn Collection | 4 | Baby & Toddler | none | 0 | none |