Fold 4 - Understanding why coefficient -1472269 was selected
Tag: ALL NATURAL
Selected Coefficient: -1472269
Taxonomy Path: -13.4.8.4
Taxonomy Name:
Products with this tag: 3
Unique residual values tried: 2
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? |
|---|---|---|---|---|---|
| -1472269 | 1.000000 | -13.4.8.4 | -4.8.4.13 (-(4*71^3 + 8*71^2 + 4*71 + 13)) | Yes | |
| -756225 | 2.000000 | -4.1.8.2 | -2.8.1.4 (-(2*71^3 + 8*71^2 + 71 + 4)) | No |
These are the training products that have the "ALL NATURAL" tag (processing sequence 200). 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 |
|---|---|---|---|---|---|---|---|
| 2768 | ChocoEve Matcha Green Tea Chocolate Disks | -756225 | ORGANIC | 716044 | none | ||
| 2770 | ChocoEve Organic Hot Chocolate | -1472269 | ORGANIC, MILK CHOCOLATE | 0 | none | ||
| 2772 | ChocoEve Hot Chocolate - Milk Chocolate | -1472269 | ORGANIC, MILK CHOCOLATE | 0 | none |