IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i16p2609-d1724841.html
   My bibliography  Save this article

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

Author

Listed:
  • Guoping Zeng

    (Independent Researcher, Plano, TX 75024, USA)

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.

Suggested Citation

  • Guoping Zeng, 2025. "Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification," Mathematics, MDPI, vol. 13(16), pages 1-26, August.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:16:p:2609-:d:1724841
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/16/2609/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/16/2609/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:16:p:2609-:d:1724841. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.