Fold 0 - Understanding why coefficient 1235969 was selected
Tag: CANDLE
Selected Coefficient: 1235969
Taxonomy Path: 14.3.40.2
Taxonomy Name: Home & Garden > Decor > Home Fragrances > Candles
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? |
|---|---|---|---|---|---|
| 1235969 | 2.000000 | 14.3.40.2 | 2.40.3.14 (2*79^3 + 40*79^2 + 3*79 + 14) | Home & Garden > Decor > Home Fragrances > Candles | Yes |
| 4 | 2.012658 | 4 | 4 (4) | Baby & Toddler | No |
| 162 | 2.012658 | 4.2 | 2.4 (2*79 + 4) | Baby & Toddler > Baby Gift Sets | No |
These are the training products that have the "CANDLE" tag (processing sequence 3131). 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 |
|---|---|---|---|---|---|---|---|
| 19408 | Lumira Travel Candle | 1235969 | Home & Garden > Decor > Home Fragrances > Candles | none | 0 | none | |
| 19642 | Apothecary Soy Candle | 1235969 | Home & Garden > Decor > Home Fragrances > Candles | none | 0 | none | |
| 13413 | Little Miss One-derful First Birthday Candle, 5" x 3" | 1 ct | 162 | Baby & Toddler > Baby Gift Sets | none | -1235807 | 1ST BIRTHDAY | |
| 13426 | Little Mister One-derful First Birthday Candle, 5" x 3" | 1 ct | 4 | Baby & Toddler | none | -1235965 | 1ST BIRTHDAY, LITTLE MISTER ONE-DERFUL |