PCNN Fold 4

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy14.10%
Test F1 score0.1101
Hierarchical loss0.78396950
P-adic loss (total)1258.43860000
P-adic loss (mean)0.68505090
Prime base79
Hidden layer size27
Max tags32
Training samples7,273
Test samples1,837

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match25914.10%0.0000000.000000
p^420.11%0.0000000.000000
p^3784.25%0.0000020.000158
p^21297.02%0.0001600.020670
p^11126.10%0.0126581.417722
p^01,25768.43%1.0000001257.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 79). Lower values indicate closer predictions in the taxonomy hierarchy. This metric is shared with the umllr model for comparison.