Aditya Mikael Lexalazizou
Universitas Negeri Malang

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search
Journal : jurnal media computer science

Customer Type Classification Based on Purchasing Patterns Using the Random Forest Algorithm on the Wholesale Customer Dataset Verina Bernice Waranggani; Vinsensius Wellen Krisna Wijaya Putra; Anik Nur Handayani; Rayie Tariaranie; Aditya Mikael Lexalazizou; Roihani Kurniawati Ningsih
Jurnal Media Computer Science Vol 5 No 4 (2026): Oktober
Publisher : LPPJPHKI Universitas Dehasen Bengkulu

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.37676/jmcs.v5i4.13378

Abstract

In the development of information technology and data mining, there is a great opportunity to support data-driven business decision-making, especially in identifying customer transaction patterns. This study focuses on classifying customer types based on purchasing patterns using the Random Forest algorithm on the Wholesale Customers dataset. The study utilizes a dataset of 440 customers consisting of 8 variables: Channel, Region, Fresh, Milk, Grocery, Frozen, Detergents_Paper, and Delicassen. The Channel variable is used as the classification label, while the other attributes are used as features. This research is conducted through several stages, including data preprocessing, normalization using StandardScaler, data splitting using train-test split, classification using the Random Forest algorithm, and model performance evaluation using confusion matrix, accuracy, precision, and recall. In addition, several data visualizations are performed, such as histograms, scatter plots, bar charts, feature importance analysis, and confusion matrix visualization, to support the analysis of data characteristics and model performance. Based on the experiments conducted, the Random Forest method shows optimal classification performance. The model achieves an accuracy of 89.77%, precision of 96.67%, and recall of 89.23%. The visualization results also indicate that the Grocery and Detergents_Paper attributes are the most influential features in determining customer types. Furthermore, a positive relationship between these two attributes is observed in the scatter plot. Based on the results of this study, the use of the Random Forest algorithm provides good clustering performance in classifying customer types based on purchasing patterns in the Wholesale Customers dataset