PCNN Fold 0

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy17.30%
Test F1 score0.1296
Hierarchical loss0.92481370
P-adic loss (total)817.79280000
P-adic loss (mean)0.67032200
Prime base71
Hidden layer size27
Max tags32
Training samples4,961
Test samples1,220

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match21117.30%0.0000000.000000
p^460.49%0.0000000.000000
p^3403.28%0.0000030.000112
p^2917.46%0.0001980.018052
p^1554.51%0.0140850.774648
p^081766.97%1.000000817.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.