Research Article

Comparison of Machine Learning Models under the Background of the 2013 University of California, Irvine Wholesale Customers Dataset

Peilin Lyu*
University of Wisconsin-Madison

* Corresponding author: [email protected]

Abstract

Customer spending patterns can provide useful information for identifying the channels of wholesale customers, supporting customer management and marketing decisions. This study examines whether six annual spending categories can be used to classify customers by sales channels. Using the University of California, Irvine (UCI) Wholesale Customers dataset, which contains 440 customers, four classification models, including Logistic Regression, K-Nearest Neighbors, Random Forest, and Gradient Boosting, were compared using Accuracy, Precision, Recall, F1-score, and Receiver Operating Characteristic - Area Under the Curve (ROC-AUC). Stratified five-fold cross-validation was used to report mean and standard deviation. Feature subsets, Channel and Region prediction, and K-Means clustering were also compared. Logistic Regression, Random Forest, and Gradient Boosting showed similar performance, and K-Nearest Neighbors (KNN) performed worse. Using two or three important features produced performance close to that of all six features. Channel was easier to predict than Region, and K-Means showed moderate agreement with the true Channel labels (ARI = 0.5135). These findings show that a small number of spending features can provide useful information for customer channel classification.

Keywords: customer Channel Classification; wholesale Spending; feature Importance; model Comparison; cluster Validation
Published: October 20, 2026
DOI: 10.54254/2753-8818/2026.PU37983
Volume: TNS Vol.196
pp. 91-106
Download PDF

References

  1. Phudjashakty, N. T., Firmansyah, H., Asriyani, W., & Sofyan, A. (2026). Segmentasi pelanggan grosir menggunakan K-Means: Analisis outlier dan ketidakseimbangan data.Jurnal Pengabdian Masyarakat dan Riset Pendidikan, 4(3), 3057–3066.
  2. Ranu, R., Pal, R., & Mishra, N. K. (2025). Predictive analysis of wholesale customer purchases pattern using machine learning techniques.International Journal of Applied and Behavioral Sciences, 2(1), 352–365.
  3. Cardoso, M. (2013). Wholesale customers [Dataset].UCI Machine Learning Repository. https://doi.org/10.24432/C5030X
  4. Zhu, Z. (2023). Customer churn prediction based on big data and machine learning approaches. InProceedings of the 8th International Conference on Financial Innovation and Economic Development(pp. 4–15).
  5. Othman, I. A. (2022). A machine learning model for customer segmentation in a telecom company using K-Nearest Neighbor (KNN).International Journal of Computer Applications, 184(31), 36–42.
  6. Boozary, P., Sheykhan, S., GhorbanTanhaei, H., & Magazzino, C. (2025). Enhancing customer retention with machine learning: A comparative analysis of ensemble models for accurate churn prediction.Intelligent Systems with Applications, 27, 200529.
  7. Lessmann, S., Baesens, B., Seow, H.-V., & Thomas, L. C. (2015). Benchmarking state-of-the-art classification algorithms for credit scoring: An update of research.European Journal of Operational Research, 247(1), 124–136.
  8. Wu, J., & Lin, Z. (2005). Research on customer segmentation model by clustering.Proceedings of the 7th International Conference on Electronic Commerce (ICEC '05), 316–318.
  9. Tsai, C.-Y., & Chiu, C.-C. (2004). A purchase-based market segmentation methodology.Expert Systems with Applications, 27(2), 265–276.
  10. Sarvari, P. A., Ustundag, A., & Takci, H. (2016). Performance evaluation of different customer segmentation approaches based on RFM and demographics analysis.Kybernetes, 45(7), 1129–1157.
  11. Kondo, F. N., & Okubo, T. (2022). Understanding multi-channel consumer behavior: A comparison between segmentations of multi-channel purchases by product category and overall products.Journal of Retailing and Consumer Services, 64, 102792.