[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-detail-327838-en":59,"doc-seo-327838-105":100,"doc-similar-327838":164},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":5,"data":60},{"doc_id":61,"user_id":62,"nickname":63,"user_avatar":64,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":66,"doc_content":67,"file_id":68,"file_url":69,"file_type":70,"file_size":71,"view_count":72,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":73,"language":74,"language_code":75,"site_id":76,"html_lang":75,"table_of_contents":77,"faqs":78,"seo_title":79,"seo_description":66,"update_tm":80,"read_time":81,"preview_page_count":19,"preview_urls":82},327838,7971461740886,"Theodore","https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","A Unified Algebraic Framework for Classification Performance Evaluation - paper","A unified algebraic framework is presented for evaluating classification performance across binary, multiclass, multilabel, ordinal, hierarchical, cost-sensitive, and soft-label settings. True and predicted labels are represented as binary indicator matrices and aggregated using global, column-wise, and row-wise operators that correspond to micro, macro/weighted, and exemplar averaging. Binary measures based on tp/fp/fn/tn extend automatically to multiple settings through operator substitution. The framework also supports soft outputs, triangular-norm soft ground truth, ordinal structures, and cost matrices, with theoretical results including equalities and characterizations under class-imbalance and confusion-matrix properties, validated by experiments on synthetic and real data.","arXiv :2607 .04028v 1 [ cs .LG] 4 Jul 2026  \nA Unified Algebraic Framework for Classification Performance Evaluation  \nRonaldo C. Pratia,∗  \na Universidade Federal do ABC (UFABC), Av. dos Estados, 5001, Santo André, SP, 09210-580, Brazil  \nAbstract  \nWe propose a unified algebraic framework for classification performance evaluation that encompasses binary, multiclass, multilabel, ordinal, hierarchical, cost-sensitive, and soft-label settings within a single formalism. The foundation is a representation of actual and predicted labels as binary indicator matrices, combined with three aggregation operators—global, column-wise, and row-wise—that correspond exactly to micro, macro/weighted, and exemplar averaging. Any binary performance measure expressed in terms of true/positive/negative counts extends automatically to all settings by substituting these operators, generating multiclass and multilabel versions without measure-specific derivations. The framework further accommodates soft classifier outputs via argmax or thresholding, soft ground truth via triangular norms, ordinal classification via membership functions or cumulative encodings, and cost-sensitive evaluation via a cost matrix that subsumes MAE and MSE as special cases. We establish several theoretical results: micro-averaging equals denominator-weighted macro-averaging; the product t-norm is the unique one preserving the confusion-matrix partition; skew-invariant measures are characterised as functions of recall and specificity; and micro-precision, micro-recall, and micro-F1 are all equal to accuracy in multiclass settings. Empirical illustrations on synthetic and real data confirm the theoretical findings.  \nKeywords: classification performance measures, multilabel classification, evaluation framework, micro-averaging, macro-averaging, cost-sensitive evaluation, confusion matrix,  \n1. Introduction  \nEvaluating the performance of classification algorithms is an essential step for machine learning researchers and practitioners [1, 2] . The process of comparing, selecting and tuning the parameters of learning algorithms is generally based on the performance evaluation by means of quality measures of the learned models, evaluated on test data. Despite its universality, evaluating classification models is a complex and still open-ended challenge [3, 4] .  \nIn the last decades, numerous performance measures have been proposed to evaluate classification models [5, 6, 7, 8] . The choice of a particular measure generally depends on the problem at hand, as well as the preferences of a particular domain. In medicine, sensitivity and specificity are often used; in information retrieval, precision and  \n∗ Corresponding author. ORCID: 0000-0001-8597-4987 .  \nEmail address: [ronaldo.prati@ufabc.edu.br](ronaldo.prati@ufabc.edu.br) (Ronaldo C. Prati)  \nrecall are preferred; in cost-sensitive applications, misclassification costs must be incorporated; and in settings with uncertain or crowdsourced labels, soft evaluation criteria are required.  \nThe complexity of evaluation grows substantially as the classification setting moves beyond the standard binary case. In multiclass problems, multiple classes compete and errors between different pairs of classes need not be treated equally. In multilabel settings, each example may simultaneously belong to several classes, creating interactions between labels that scalar measures must somehow summarize. In ordinal and hierarchical classification, the structure of the class space carries information about error severity. In single-class, open-set, and abstaining classifiers, the boundary between known and unknown is itself part of the prediction. Across all these settings, the same underlying measure—say, F1 —can be computed in multiple ways (micro, macro, weighted, exemplar), each emphasising different aspects of performance and potentially producing contradictory rankings of competing classifiers, as we demonstrate empirically.  \nA further ","cbCaicTaajg9c6iv","https://ap.wps.com/l/cbCaicTaajg9c6iv","pdf",447386,16,37,"English","en",105,"# Introduction\n## Related Work","[{\"question\":\"What unified representation does the framework use for labels?\",\"answer\":\"It represents actual and predicted labels as binary indicator matrices, enabling one formalism across many classification settings.\"},{\"question\":\"How does the framework connect aggregation operators to averaging types?\",\"answer\":\"It uses global, column-wise, and row-wise aggregation operators that correspond to micro, macro/weighted, and exemplar averaging, respectively.\"},{\"question\":\"What theoretical relationships does the paper establish among averaging schemes and metrics?\",\"answer\":\"It shows, for example, that micro-averaging equals denominator-weighted macro-averaging, and that micro-precision, micro-recall, and micro-F1 equal accuracy in multiclass settings.\"}]","A Unified Algebraic Framework for Classification Performance Evaluation - paper | PDF",1789978165,93,[83,87,91,96],{"page_no":8,"url":84,"width":85,"height":86},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/9f7dfd153bd0431f1bd599ee9a276b16.webp",983,1390,{"page_no":14,"url":88,"width":89,"height":90},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/6ba32f586e21d62ceffd36d20b2d24c8.webp",982,1388,{"page_no":92,"url":93,"width":94,"height":95},3,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/580925024520bc8adae3cd360a475f69.webp",981,1387,{"page_no":19,"url":97,"width":98,"height":99},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2d21c41f7822b833c8566d889ed0a39e.webp",980,1385,{"code":4,"msg":101,"data":102},"ok",{"site_id":76,"language":75,"slug":103,"title":65,"keywords":104,"description":66,"schema_data":105,"social_meta":158,"head_meta":160,"extra_data":162,"updated_unix":163},"a-unified-algebraic-framework-for-classification-performance-evaluation-paper","",{"@graph":106,"@context":157},[107,120,140],{"@type":108,"itemListElement":109},"BreadcrumbList",[110,114,116,118],{"item":111,"name":112,"@type":113,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":115,"name":9,"@type":113,"position":14},"https://docshare.wps.com/document/",{"item":117,"name":40,"@type":113,"position":92},"https://docshare.wps.com/document/research-report/",{"item":119,"name":65,"@type":113,"position":19},"https://docshare.wps.com/document/a-unified-algebraic-framework-for-classification-performance-evaluation-paper/327838/",{"url":119,"name":65,"@type":121,"image":122,"author":127,"headline":65,"publisher":129,"fileFormat":132,"inLanguage":75,"description":66,"dateModified":133,"datePublished":134,"encodingFormat":132,"isAccessibleForFree":135,"interactionStatistic":136},"DigitalDocument",{"url":123,"@type":124,"width":125,"height":126},"https://docshare.wps.com/thumbnails/a-unified-algebraic-framework-for-classification-performance-evaluation-paper/327838.png","ImageObject",300,407,{"name":63,"@type":128},"Person",{"url":111,"name":130,"@type":131},"DocShare","Organization","application/pdf","2026-11-30","2026-09-21",true,{"@type":137,"interactionType":138,"userInteractionCount":72},"InteractionCounter",{"@type":139},"ViewAction",{"@type":141,"mainEntity":142},"FAQPage",[143,149,153],{"name":144,"@type":145,"acceptedAnswer":146},"What unified representation does the framework use for labels?","Question",{"text":147,"@type":148},"It represents actual and predicted labels as binary indicator matrices, enabling one formalism across many classification settings.","Answer",{"name":150,"@type":145,"acceptedAnswer":151},"How does the framework connect aggregation operators to averaging types?",{"text":152,"@type":148},"It uses global, column-wise, and row-wise aggregation operators that correspond to micro, macro/weighted, and exemplar averaging, respectively.",{"name":154,"@type":145,"acceptedAnswer":155},"What theoretical relationships does the paper establish among averaging schemes and metrics?",{"text":156,"@type":148},"It shows, for example, that micro-averaging equals denominator-weighted macro-averaging, and that micro-precision, micro-recall, and micro-F1 equal accuracy in multiclass settings.","https://schema.org",{"og:url":119,"og:type":159,"og:title":65,"og:site_name":130,"og:description":66},"article",{"robots":161,"canonical":119},"index,follow",{"doc_id":61,"site_id":76},1790292882,{"list":165,"token":104},[166,172,179,186,192,199,206,213,219,225],{"doc_id":167,"doc_title":168,"file_type":70,"home_preview_img_url":169,"slug":170,"view_count":56,"category_name":40,"create_tm":171},120194,"Applying Machine Learning for Seismic Interpretation - Master of Philosophy Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835187896/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=K%2BzhYw%2Fy0BGIr41UdrzKnsSkJ1E%3D","applying-machine-learning-for-seismic-interpretation-master-of-philosophy-thesis",1785728653,{"doc_id":173,"doc_title":174,"file_type":70,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},118102,"Towards Accessible Healthcare: Machine Learning-Enabled Diagnosis of Alzheimer’s Disease - Master of Science Thesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834738322/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=ioXMxZZ7LTesr%2FtngBSU2qS%2B8P8%3D","towards-accessible-healthcare-machine-learning-enabled-diagnosis-of-alzheimers-disease-master-of-science-thesis",15,1785681636,{"doc_id":180,"doc_title":181,"file_type":70,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":40,"create_tm":185},121338,"AI-Powered Fact Verification - Analyzing Public Consensus Through Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835415398/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=B4aDsPW8rZdlN%2FJ4oNjREArMMGo%3D","ai-powered-fact-verification-analyzing-public-consensus-through-machine-learning",27,1785735140,{"doc_id":187,"doc_title":188,"file_type":70,"home_preview_img_url":189,"slug":190,"view_count":184,"category_name":40,"create_tm":191},84317,"Contrastive Order Learning: A General Framework for Ordinal Regression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809041450/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=MmC6HRwGh6RRZkCyBCRGWdYbotg%3D","contrastive-order-learning-a-general-framework-for-ordinal-regression",1784194790,{"doc_id":193,"doc_title":194,"file_type":70,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":40,"create_tm":198},290913,"Privacy-Preserving Model and Preprocessing Verification for Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903747529/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=zj4YHKgEYR3gcRXNndrXXYVkliY%3D","privacy-preserving-model-and-preprocessing-verification-for-machine-learning",18,1789642944,{"doc_id":200,"doc_title":201,"file_type":70,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":40,"create_tm":205},356150,"In-vivo detection of cervical cancer lesions using hyperspectral colposcopy","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229912019476/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=CGXCGzjd5mVc7WYgzs6xpA6SBDY%3D","in-vivo-detection-of-cervical-cancer-lesions-using-hyperspectral-colposcopy",12,1790123674,{"doc_id":207,"doc_title":208,"file_type":70,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":40,"create_tm":212},86270,"DiffEEG A Self-Supervised Denoising Diffusion Model for Learning EEG Generic Representations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809395842/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=cp502qAEzzOhYnSsW6gr54An6S4%3D","diffeeg-a-self-supervised-denoising-diffusion-model-for-learning-eeg-generic-representations",31,1784209942,{"doc_id":214,"doc_title":215,"file_type":70,"home_preview_img_url":216,"slug":217,"view_count":204,"category_name":40,"create_tm":218},349848,"Reciprocal cooperative gating fusion of SqueezeNet and ShuffleNetV2 for breast cancer detection in histopathology images","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911434803/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=WAxygHcDVLfKCkzAcDvtthEttWo%3D","reciprocal-cooperative-gating-fusion-of-squeezenet-and-shufflenetv2-for-breast-cancer-detection-in-histopathology-images",1790085960,{"doc_id":220,"doc_title":221,"file_type":70,"home_preview_img_url":222,"slug":223,"view_count":29,"category_name":40,"create_tm":224},471369,"An Easy-to-hard Learning Paradigm for Multiple Classes - and Multiple Labels","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926351497/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=IjD7AX0ixH4ImKMBMj3QnHYIFx0%3D","an-easy-to-hard-learning-paradigm-for-multiple-classes-and-multiple-labels",1790778930,{"doc_id":226,"doc_title":227,"file_type":70,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":40,"create_tm":231},468651,"Reduced rank regression for mixed predictor and response variables","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926525880/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110439&Signature=E%2BiMak2OQprMvtOXjhHccGOe%2BN4%3D","reduced-rank-regression-for-mixed-predictor-and-response-variables",14,1790774494]