IJISTECH (International Journal Of Information System & Technology)
Vol 8, No 6 (2025): The April edition

Comparison of Naive Bayes and C4.5 Methods with Particle Swarm Optimization on Customer Loyalty Classification

Wati, Embun Fajar (Unknown)
Perangin-Angin, Elvi Sunita (Unknown)
Indriyani, Luthfi (Unknown)



Article Info

Publish Date
30 Apr 2025

Abstract

The Company attaches great importance to customer loyalty for the sustainability of the Company. Loyal customers will buy many times and provide great profits. In this study, the decision tree method or C4.5 and naïve bayes were used with PSO optimization for customer classification which aims to design a strategy in decision-making towards disloyal customers. Some of the stages carried out are data load into MS. Excel, data cleaning from noise, data selection as many as 238 obtained from previous research with several attributes, including, namely age, annual income, purchase amount, region, purchase frequency, and loyalty score, as well as data transformation, namely each attribute is grouped into 2 with their own criteria, data testing by modeling data through Rapidminer, Data evaluation by examining the values of accuracy, precision, recall, and AUC. Both methods have the same accuracy value of 96.67% and the same recall value of 100%. For the precision value, there is a difference of 0.6% and the precision decision tree value is higher than the naïve Bayes which is 96.16%. As for the AUC value, it is higher naïve bayes, which is 0.922 with the difference from the decision tree of 0.059. It can be concluded that the two methods in processing customer loyalty data in this study have the same accuracy, so both methods are equally good.

Copyrights © 2025






Journal Info

Abbrev

ijistech

Publisher

Subject

Computer Science & IT

Description

IJISTECH (International Journal Of Information System & Technology) is published with both online and print versions. The journal covers the frontier issues in the computer science and their applications in business, industry and other subjects. The computer science is a branch of engineering ...