Parameter Constrained Neural Network

Cross-validated PyTorch model predicting taxonomy IDs from tags

← Back to index

Model overview

Parameter constrained neural network classifier using PyTorch with configurable hidden layers to predict taxonomy IDs from product tags. Each taxonomy path is encoded as a p-adic integer and the model minimizes p-adic distance.

5 CV folds
23.38% Mean accuracy
0.1714 Mean F1
0.57570434 Mean p-adic loss

Key hyperparameters

Cross-validation results

FoldAccuracyF1P-adic loss (mean)Details
0 23.67% 0.1704 0.554722 View details →
1 23.17% 0.1738 0.574141 View details →
2 23.45% 0.1795 0.586188 View details →
3 22.07% 0.1632 0.589200 View details →
4 24.56% 0.1699 0.574271 View details →