PCNN Fold 4

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy25.18%
Test F1 score0.1823
Hierarchical loss0.93198264
P-adic loss (total)394.46268000
P-adic loss (mean)0.57085770
Prime base71
Hidden layer size27
Max tags32
Training samples2,732
Test samples691

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match17425.18%0.0000000.000000
p^450.72%0.0000000.000000
p^3263.76%0.0000030.000073
p^2608.68%0.0001980.011902
p^1324.63%0.0140850.450704
p^039457.02%1.000000394.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.