Boosting Performance Klasifikasi kNN Customer Loyalty dengan Chi-Square dan Information Gain

Understanding customer purchasing behavior is essential for predicting customer loyalty, which directly impacts a company's long-term success. This research aims to determine the effect of chi-square and information gain feature selection in optimizing customer loyalty classification performance, compared to pure kNN. Using a public customer purchasing behavior dataset from Kaggle, containing 10,000 data, 12 attributes with loyalty_status as the label (Gold, Regular, Silver). Evaluating performance by accuracy, kappa, classification error, recall, precision, and RMSE. The highest accuracy 91.99% was obtained by kNN k=3 with information gain, kappa 0.844, precision 95.44%, recall 86.30%, with the lowest classification error 8.01% and the second lowest RMSE 0.245, after kNN k=3 with chi-square. Results show that feature selection has a positive impact on classification, increasing accuracy and reducing errors, with the combination of the kNN k=3 method and information gain proving successful in obtaining high accuracy in classifying customer loyalty.

Authors

Institutions

Publication Details

Journal
Jurnal Transformatika
Published
2025-03-11
DOI
https://doi.org/10.26623/6wgy1097
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Boosting Performance Klasifikasi kNN Customer Loyalty dengan Chi-Square dan Information Gain

Basirudin Ansor, Atika Mutiarachim, Fari Katul Fikriah, Aditya Putra Ramdani
Jurnal Transformatika
Customer churn and segmentation
article

Boosting Performance Klasifikasi kNN Customer Loyalty dengan Chi-Square dan Information Gain

Basirudin Ansor, Atika Mutiarachim, Fari Katul Fikriah, Aditya Putra Ramdani
article en

Abstract

Understanding customer purchasing behavior is essential for predicting customer loyalty, which directly impacts a company's long-term success. This research aims to determine the effect of chi-square and information gain feature selection in optimizing customer loyalty classification performance, compared to pure kNN. Using a public customer purchasing behavior dataset from Kaggle, containing 10,000 data, 12 attributes with loyalty_status as the label (Gold, Regular, Silver). Evaluating performance by accuracy, kappa, classification error, recall, precision, and RMSE. The highest accuracy 91.99% was obtained by kNN k=3 with information gain, kappa 0.844, precision 95.44%, recall 86.30%, with the lowest classification error 8.01% and the second lowest RMSE 0.245, after kNN k=3 with chi-square. Results show that feature selection has a positive impact on classification, increasing accuracy and reducing errors, with the combination of the kNN k=3 method and information gain proving successful in obtaining high accuracy in classifying customer loyalty.

Jurnal TransformatikaVol. 22(2)
Universitas 17 Agustus 1945 Semarang (ID), Universitas Muhammadiyah Semarang (ID), Universitas Widyatama (ID)
Openalex Percentile: Top 95%
Customer churn and segmentation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Boosting Performance Klasifikasi kNN Customer Loyalty dengan Chi-Square dan Information Gain — Basirudin Ansor, Atika Mutiarachim, et al. · Jurnal Transformatika (2025) | TGRS Research Map | TGRS