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
12.72% Mean accuracy
0.0938 Mean F1
0.52543382 Mean p-adic loss

Key hyperparameters

Cross-validation results

FoldAccuracyF1P-adic loss (mean)Details
0 12.72% 0.0954 0.523938 View details →
1 14.40% 0.1043 0.520736 View details →
2 11.94% 0.0888 0.542045 View details →
3 12.52% 0.0950 0.516583 View details →
4 12.02% 0.0855 0.523867 View details →