PCNN Fold 1

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy21.80%
Test F1 score0.1626
Hierarchical loss0.92891120
P-adic loss (total)395.56464000
P-adic loss (mean)0.57494860
Prime base71
Hidden layer size27
Max tags32
Training samples2,735
Test samples688

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match15021.80%0.0000000.000000
p^440.58%0.0000000.000000
p^3233.34%0.0000030.000064
p^27711.19%0.0001980.015275
p^1395.67%0.0140850.549296
p^039557.41%1.000000395.000000

Tag Rank vs First-Layer Weight Magnitude

Tag rank vs max first-layer weight magnitude
Scatter plot showing the relationship between tag battle ranking and maximum absolute first-layer weight value across all hidden units. Shows which input features contribute most to the parameter constrained neural network's hidden representations.

About p-adic loss

P-adic loss measures the distance between predicted and true taxonomy using p-adic metric (base 71). Lower values indicate closer predictions in the taxonomy hierarchy. This metric is shared with the umllr model for comparison.