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
49.42% Mean accuracy
0.5290 Mean F1
0.232188 Mean p-adic loss
120,392 Avg effective params

Cross-validation results

FoldAccuracyF1P-adic loss (mean)Tree depthNodesEffective params
050.54%0.54290.209426188412,195121,374
148.73%0.52170.238152190411,895118,422
249.33%0.52730.239897187112,067120,117
349.19%0.52690.242073185612,117120,668
449.30%0.52630.231392186812,185121,380

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.0048735/5
2ACCESSORIES0.0030265/5
3NEW ARRIVALS0.0025065/5
4BLACK0.0024845/5
5BIRTHDAY0.0024805/5
6KIDS0.0020735/5
7RETAIL0.0019915/5
8WOMEN0.0019305/5
9MEN0.0018745/5
10WHITE0.0017665/5
11HAT0.0015925/5
12DRESS0.0015525/5
13WOMENS0.0015475/5
14PRINTED SILK0.0014831/5
15PIVIT0.0014802/5
16_RELATED_HOT-CEREAL-LANDING-PAGE0.0014773/5
17MOTORCYCLE RAMP0.0014773/5
18TV SPEAKER0.0014774/5
19INKYBAY_CUSTOM0.0014775/5
20TOWEL-RAILS0.0014775/5
21PLANT STANDS AND BENCHES0.0014775/5
22CHEESE TOOL0.0014775/5
23CAR COASTERS0.0014775/5
24KEYS0.0014775/5
25SIRUP0.0014775/5
26CIDER0.0014775/5
27TIRE SEALANT0.0014775/5
28RAFCAMERA0.0014775/5
29ELECTRIC-SKATEBOARDS0.0014775/5
30PALEO HOT CEREAL0.0014771/5
31PHANTOMX0.0014771/5
32SOUNDBAR0.0014771/5
33BICYCLES AND MOTORCYCLES0.0014772/5
34JIGS & RIGS0.0014772/5
35SSET0.0014771/5
36IMT TOOLS0.0014764/5
37ROAD0.0014764/5
38PRINTED POCKET SQ0.0014764/5
39CUTTER REPLACEMENT0.0014721/5
40TEETHING ANKLET0.0014721/5
41TRAILER JIGS0.0014721/5
42PUBLISHEDNEW0.0014691/5
4316660.0014641/5
44DUPION0.0014641/5
45CLOTHING0.0014615/5
46OVER-100.0014604/5
47SAREE0.0014594/5
4845MM0.0014591/5
49HARLEY DAVIDSON MOTORCYCLE RAIN GEAR0.0014521/5
50SMALL WEAPONS0.0014455/5