PCNN Fold 4

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy16.28%
Test F1 score0.1186
Hierarchical loss0.92388840
P-adic loss (total)812.10370000
P-adic loss (mean)0.65439457
Prime base71
Hidden layer size27
Max tags32
Training samples4,940
Test samples1,241

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match20216.28%0.0000000.000000
p^440.32%0.0000000.000000
p^3514.11%0.0000030.000142
p^2967.74%0.0001980.019044
p^1776.20%0.0140851.084507
p^081165.35%1.000000811.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.