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
16.09% Mean accuracy
0.1189 Mean F1
0.65837006 Mean p-adic loss

Key hyperparameters

Cross-validation results

FoldAccuracyF1P-adic loss (mean)Details
0 17.30% 0.1296 0.670322 View details →
1 16.46% 0.1173 0.634371 View details →
2 15.68% 0.1250 0.655318 View details →
3 14.72% 0.1039 0.677445 View details →
4 16.28% 0.1186 0.654395 View details →