Skip to content
Open access

Class Cardinality as a Source of Prediction Uncertainty in E-Commerce Customer Analytics

Sep 2026 · Analytics · Vol 5, pp. 36 · 0 citations · 20 references

TL;DR

It is emphasized the necessity to consider class cardinality, class imbalance, and probabilistic metrics when evaluating multiclass classification models when evaluating multiclass classification models.

Abstract

Class imbalance and class cardinality both affect multiclass classification, but their influence on probabilistic estimation has been less explored. This study examines these impacts using an e-commerce dataset. The study follows a four-stage methodology comprising classifier comparative evaluation, controlled class-cardinality analysis, validation using real categorical variables, and class-imbalance evaluation. Multiclass classification tasks are evaluated using Support Vector Machine, Gaussian Naive Bayes, Logistic Regression, Random Forest, and Decision Tree classifiers. Under five-fold cross-validation, performance is assessed using the macro-F1 score, log loss, and accuracy. Results show that macro-F1 score and accuracy decrease as class cardinality increases, causing greater classification difficulty. Tree-based models like Random Forest exhibit more balanced performance across classes. Gaussian Naive Bayes obtains the lowest log loss, indicating more accurate probability estimations. Class cardinality effects are isolated by varying the number of classes while keeping the features and classifier fixed. Increasing class cardinality reduced posterior confidence and increased entropy and log loss. Using real-time categorical variables, these trends are confirmed. Class imbalance primarily affects minority class performance, whereas class cardinality exerts a broader influence on probabilistic confidence and prediction uncertainty. The findings emphasize the necessity to consider class cardinality, class imbalance, and probabilistic metrics when evaluating multiclass classification models.

Read PDF

Similar papers

Conference Open access 2026

Machine Learning Modeling and Evaluation for E-commerce Transaction Fraud Detection

Experimental results show that the gradient boosting tree outperforms the competition across all metrics, indicating a stronger ability to characterize complex fraud patterns and more robust generalization performance.

Zi-Xiao Ding · 0 citations
Open access Sep 2026

When Does Cost-Sensitive Weighting Matter? A Classifier-Capacity Anal-ysis for Imbalanced Classification

The evidence supports a simple two-tier policy: tune the weighting scheme carefully for linear learners, and keep the plain balanced default for ensemble and boosting learners, where additional tuning yields no benefit that survives a significance test.

Swati Satpute, Ajit More · 0 citations
#software testing Open access Nov 2026

How Classification Models Degrade as Data Diminish: A Multi-Criteria Analysis of Tabular Classifiers Under Controlled Data Scarcity

Tree-based models exhibited the largest reductions in accuracy and the steepest increases in calibration error under scarcity, whereas logistic regression preserved threshold balance and probability calibration at negligible computational cost.

Jairo Devon A. Daquioag, E. Ayo · 0 citations
Conference Aug 2026

Impact of Data Pre-Processing Techniques on Supervised Machine Learning Models for Credit Risk Classification

Credit risk classification is a critical task to reduce default risk and support informed lending decisions. Nonetheless, the execution of machine learning in the predicting credit risks is greatly influenced by characteristics of the data including data heterogeneity, variance of the feature scales, and class imbalanc...

Susheel Kumar, Amit Sagu, Netra Pal Singh · 0 citations
Open access Sep 2026

Performance Analysis of Ensemble Technique for Classifying Imbalanced Dataset Using SMOTE-TOMEK Links Sampling

In this paper, first the imbalanced data are sampled using SMOTE-TOMEK Links sampling which balances the imbalance dataset, then, Ensemble Technique is used for data classification and performance is measured.

Ajaya Shrestha, Dhiraj Pyakurel, Amit Rauniyar · 0 citations
Review Open access Aug 2026

Hybrid Machine Learning Models for Predictive Analytics and Intelligent Decision-Making in Complex Data Environments

Logistic Regression, Random Forest, soft voting, and weighted voting using a publicly available educational dataset comprising 4,424 student records, 36 predictors, and three outcome classes provided accurate, interpretable, and decision-oriented predictions, although external validation and prospective evaluation are...

Haleeful Jud · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.