PCNN Fold 2

Back to PCNN overview · Back to main index

Fold metrics

MetricValue
Test accuracy15.68%
Test F1 score0.1250
Hierarchical loss0.92334116
P-adic loss (total)815.21576000
P-adic loss (mean)0.65531814
Prime base71
Hidden layer size27
Max tags32
Training samples4,937
Test samples1,244

P-adic loss breakdown

AgreementCountShareCost per mistakeTotal contribution
Exact match19515.68%0.0000000.000000
p^420.16%0.0000000.000000
p^3554.42%0.0000030.000154
p^2937.48%0.0001980.018449
p^1856.83%0.0140851.197183
p^081465.43%1.000000814.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.