Fold 3 - Understanding why coefficient 4 was selected
Tag: CANDLE
Selected Coefficient: 4
Taxonomy Path: 4
Taxonomy Name: Baby & Toddler
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.012658 | 4 | 4 (4) | Baby & Toddler | Yes |
| 162 | 1.012658 | 4.2 | 2.4 (2*79 + 4) | Baby & Toddler > Baby Gift Sets | No |
| 362229 | 2.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 "CANDLE" tag (processing sequence 46). 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 |
|---|---|---|---|---|---|---|---|
| 13220 | Despicable Me Birthday Candle | 1ct | 362229 | Home & Garden > Decor > Seasonal & Holiday Decorations | none | 362225 | none | |
| 13413 | Little Miss One-derful First Birthday Candle, 5" x 3" | 1 ct | 162 | Baby & Toddler > Baby Gift Sets | none | 158 | none | |
| 13426 | Little Mister One-derful First Birthday Candle, 5" x 3" | 1 ct | 4 | Baby & Toddler | none | 0 | none |