PCNN Fold 4

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy16.87%
Test F1 score0.1196
Hierarchical loss0.77466230
P-adic loss (total)703.22920000
P-adic loss (mean)0.78049850
Prime base79
Hidden layer size27
Max tags32
Training samples3,679
Test samples901

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match15216.87%0.0000000.000000
p^440.44%0.0000000.000000
p^3161.78%0.0000020.000032
p^280.89%0.0001600.001282
p^1182.00%0.0126580.227848
p^070378.02%1.000000703.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.