Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification
Guoping Zeng ()
Additional contact information
Guoping Zeng: Independent Researcher, Plano, TX 75024, USA
Mathematics, 2025, vol. 13, issue 16, 1-26
Abstract:
Multiclass evaluation metrics derived from the confusion matrix—such as accuracy, precision, and recall—are widely used yet rarely formalized with respect to their structural invariance. This paper introduces a closed-form analytical framework demonstrating that core metrics remain stable under confusion matrix transposition and class label permutation. A minimal sufficient set of metrics is identified— Overall accuracy , Macro-averaged precision , Macro-averaged recall , and Weighted precision —from which all other commonly reported metrics can be derived. These invariance properties are established algebraically and validated numerically using both the Wine dataset and CIFAR-10 with a convolutional neural network. The results confirm robustness across models and datasets and clarify metric behavior under structural transformations. The proposed framework reinforces reproducibility and interpretability in multiclass evaluation, with implications for diagnostic screening, fraud detection, and classification audits.
Keywords: multiclass confusion matrix; metric invariance; matrix transposition; class permutation; evaluation metrics; macro/micro/weighted averaging; confusion matrix transformation (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7390/13/16/2609/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/16/2609/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:16:p:2609-:d:1724841
Access Statistics for this article
Mathematics is currently edited by Ms. Emma He
More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().