Next Article in Journal
Global Boundedness of Weak Solutions to Fractional Nonlocal Equations
Previous Article in Journal
Coherent Control of Diabolic Points of a Hermitian Hamiltonian in a Four-Level Atomic System Using Structured Light Fields
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification

Independent Researcher, Plano, TX 75024, USA
Mathematics 2025, 13(16), 2609; https://doi.org/10.3390/math13162609
Submission received: 28 June 2025 / Revised: 28 July 2025 / Accepted: 12 August 2025 / Published: 14 August 2025

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 multiclass confusion matrix; metric invariance; matrix transposition; class permutation; evaluation metrics; macro/micro/weighted averaging; confusion matrix transformation

Share and Cite

MDPI and ACS Style

Zeng, G. Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification. Mathematics 2025, 13, 2609. https://doi.org/10.3390/math13162609

AMA Style

Zeng G. Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification. Mathematics. 2025; 13(16):2609. https://doi.org/10.3390/math13162609

Chicago/Turabian Style

Zeng, Guoping. 2025. "Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification" Mathematics 13, no. 16: 2609. https://doi.org/10.3390/math13162609

APA Style

Zeng, G. (2025). Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification. Mathematics, 13(16), 2609. https://doi.org/10.3390/math13162609

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop