PCNN Fold 2

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy21.52%
Test F1 score0.1593
Hierarchical loss0.92865527
P-adic loss (total)418.47620000
P-adic loss (mean)0.60039630
Prime base71
Hidden layer size27
Max tags32
Training samples2,726
Test samples697

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match15021.52%0.0000000.000000
p^471.00%0.0000000.000000
p^3324.59%0.0000030.000089
p^2578.18%0.0001980.011307
p^1334.73%0.0140850.464789
p^041859.97%1.000000418.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.