Prosiding Seminar Nasional Ilmu Teknik
Vol. 2 No. 2 (2025): Desember: Prosiding Seminar Nasional Ilmu Teknik

Model Machine Learning untuk Klasifikasi Loyalitas Pelanggan Menggunakan Random Forest

Tengku Syahvina Rival Dini (Unknown)
Rani Chantika (Unknown)
Pebi Mina Husania (Unknown)
Puji Sri Alhirani (Unknown)



Article Info

Publish Date
18 Feb 2026

Abstract

This research develops a machine learning model to classify customer loyalty using the Random Forest algorithm. Customer churn is a critical issue that reduces revenue and increases acquisition costs. A dataset of 50,000 customers from global e-commerce and subscription platforms was processed through data cleaning, imputation, outlier handling, and class balancing with SMOTE. The Random Forest model was built as a baseline and optimized with hyperparameter tuning. Evaluation using accuracy, precision, recall, and F1-score shows that the optimized model achieved 90.81% accuracy and 83.87% F1-score, outperforming previous Naïve Bayes approaches. Feature importance analysis highlights customer service interactions, lifetime value, and demographic factors as key predictors of churn. These findings demonstrate Random Forest’s effectiveness in churn prediction and provide practical insights for customer retention strategies

Copyrights © 2025






Journal Info

Abbrev

PROSEMNASPROIT

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Electrical & Electronics Engineering Engineering

Description

Prosiding Seminar Nasional Ilmu Teknik, Its a collection of papers or scientific articles that have been presented at the National Research Conference which is held regularly every two years by the Asosiasi Riset Ilmu Teknik Indonesia. The paper topics published in the Prosiding Seminar Nasional ...