Decision Tree Classifier

Interpretable tree-based model using ALL tags

← Back to index

Model overview

Decision tree classifier for predicting taxonomy IDs from product tags. Unlike parameter-constrained models, this classifier uses ALL available tags. The tree structure provides natural interpretability - each decision node tests whether a specific tag is present, leading to a taxonomy prediction at the leaves.

5 CV folds
48.80% Mean accuracy
0.5219 Mean F1
0.222830 Mean p-adic loss
140,644 Avg effective params

Cross-validation results

FoldAccuracyF1P-adic loss (mean)Tree depthNodesEffective params
048.64%0.52210.213986205213,993141,172
148.93%0.52440.223238205213,943140,575
249.37%0.52530.236845206413,887140,029
348.09%0.51300.222691205413,907140,249
448.97%0.52490.217388206813,997141,194

Feature importances (Top 50)

Feature importances are averaged across all 5 folds. The "Folds" column shows how many folds used this feature.

RankTagAvg ImportanceFolds
1NEW0.0037565/5
2ACCESSORIES0.0028955/5
3BLACK0.0027495/5
4BIRTHDAY0.0021465/5
5WOMEN0.0021465/5
6BIKES0.0018095/5
7NEW ARRIVALS0.0017235/5
8WHITE0.0016135/5
9KIDS0.0016075/5
10BLUE0.0015095/5
11HAT0.0015035/5
12WOMENS0.0014665/5
13MEN0.0014275/5
14CHRISTMAS0.0014185/5
15DRESS0.0014065/5
16SALE0.0013875/5
17TV SPEAKER0.0013543/5
18SOUTH WEST AUSTRALIA0.0013543/5
19MOTORCYCLE RAMP0.0013531/5
20PALEO HOT CEREAL0.0013533/5
21PIVIT0.0013521/5
22CAR COASTERS0.0013524/5
23PRINTED SILK0.0013513/5
24SIRUP0.0013515/5
25PLANT STANDS AND BENCHES0.0013515/5
26INKYBAY_CUSTOM0.0013515/5
27TIRE SEALANT0.0013515/5
28ELECTRIC-SKATEBOARDS0.0013515/5
29KEYS0.0013515/5
30RAFCAMERA0.0013515/5
31CHEESE TOOL0.0013515/5
32TOWEL-RAILS0.0013515/5
33PRINTED POCKET SQ0.0013512/5
34JIGS & RIGS0.0013514/5
35BICYCLES AND MOTORCYCLES0.0013504/5
36ROAD0.0013504/5
37_RELATED_HOT-CEREAL-LANDING-PAGE0.0013482/5
38HOME THEATER SPEAKERS0.0013481/5
39GROW YOURSELF0.0013472/5
40EARLY-LEARNING0.0013451/5
41SOUNDBAR0.0013451/5
422023-03-130.0013391/5
43OVER-100.0013394/5
44CUTTER REPLACEMENT0.0013302/5
45CLOTHING0.0013275/5
46SMALL WEAPONS0.0013245/5
47OLFA BLADE0.0013231/5
48REPLACEMENT BLADE0.0013191/5
49KNITTED BEANBAGS0.0013161/5
50_RELATED_GRANOLA-LANDING-PAGE0.0013115/5