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
13.37% Mean accuracy
0.0947 Mean F1
0.74285265 Mean p-adic loss

Key hyperparameters

Cross-validation results

FoldAccuracyF1P-adic loss (mean)Details
0 14.05% 0.0995 0.736535 View details →
1 13.31% 0.0942 0.736862 View details →
2 12.54% 0.0920 0.757551 View details →
3 13.45% 0.0908 0.745865 View details →
4 13.49% 0.0969 0.737450 View details →