Identifikasi Faktor Determinan Keterlibatan Pemain Game Online Berbasis Perilaku Menggunakan Machine Learning
Abstract
Along with the rapid growth of the online gaming industry and the increasing complexity of player behavioral patterns, player engagement analysis has become a critical component in designing data-driven retention strategies. This study aims to identify the determinant factors influencing player engagement levels in online games and to develop an accurate classification prediction model. The study is motivated by the limitations of conventional engagement analysis approaches that rely solely on total playtime, which tend to be biased and do not fully represent player loyalty. A quantitative research approach was employed using a behavioral dataset consisting of 40,034 players, with a comparative evaluation of Naïve Bayes, Logistic Regression, and Random Forest algorithms. The data preprocessing stage included variable encoding, feature scaling, and data partitioning using a stratified train–test split to preserve class distribution. Hyperparameter optimization for the Random Forest model was performed using Grid Search with 5-fold cross-validation to objectively determine the optimal parameter combination. Experimental results demonstrate that the Random Forest algorithm achieved the best performance with a test accuracy of 91.30%, outperforming Naïve Bayes (83.61%) and Logistic Regression (82.64%). Feature importance analysis revealed that demographic factors and total playtime contributed relatively little to player engagement prediction, whereas weekly gaming session frequency and average session duration were identified as the most influential determinants. The findings suggest that player retention strategies are more effective when shifting from a duration-based approach to a frequency-based approach, encouraging consistent player interaction and fostering long-term engagement.
Keywords
References
K. N. Reddy, G. Nikhil Kumar, K. Anitha, J. Mounika, and B. Prasad, “Player Behavior Prediction for In-Game Purchases Using Machine Learning,” J. Adv. Dev. Res. IJAIDR26011798, vol. 17, no. 1, Accessed: Jul. 27, 2026. [Online]. Available: www.ijaidr.com•
K. R. Deloitte, N. Pflanzl, J. A. Hüllmann, and M. Preuss, “Prediction of Player Churn and Disengagement Based on User Activity Data of a Freemium Online Strategy Game”, Accessed: Jul. 27, 2026. [Online]. Available: www.thesettlersonline.com/.
M. Ahmad and J. Srivastava, Behavioral data mining and network analysis in massive online games. 2014. doi: 10.1145/2556195.2556196.
J. Kristensen and P. Burelli, Combining Sequential and Aggregated Data for Churn Prediction in Casual Freemium Games. 2019. doi: 10.1109/CIG.2019.8848106.
H. Hoang and N. Cam, “Do they like your game? Early-stage churn prediction using a two-phase neural network system,” Eng. Appl. Artif. Intell., vol. 144, p. 110102, Mar. 2025, doi: 10.1016/j.engappai.2025.110102.
J. Kim, K. Kim, H. Kim, and S. Li, “Analyzing player churn in esports games: a survival analysis of league of legends log data,” Sport. Bus. Manag. An Int. J., vol. 16, pp. 453–474, Jan. 2026, doi: 10.1108/SBM-04-2025-0093.
L. Yuan, “Predicting Online Gaming Player Behavior and Engagement Based on Machine Learning,” Appl. Comput. Eng., vol. 223, pp. 54–62, Feb. 2026, doi: 10.54254/2755-2721/2026.AS31576.
A. Rawat et al., Predictive User Engagement Modeling Using Time Series Analysis for Interactive Media and Gaming. 2025. doi: 10.1109/GEM66882.2025.11155680.
R. Aprillya, P. : Perbandingan, M. Klasifikasi, R. A. Putri, and N. S. Fatonah, “Perbandingan Metode Klasifikasi serta Analisis Faktor Akademis Pola Kelulusan Mahasiswa di Perguruan Tinggi,” J. Inform. J. Pengemb. IT, vol. 7, no. 2, pp. 109–117, May 2022, doi: 10.30591/JPIT.V7I2.3082.
H. Hartatik, “Safe Gaming Analytics: Gender- and Age-Aware Machine Learning Using XGBoost for Game Player Engagement Prediction,” West Sci. Inf. Syst. Technol., vol. 2, pp. 419–427, Dec. 2024, doi: 10.58812/wsist.v2i03.2150.
R. A. Salsabila, A. Herita, N. Zahra, W. Sari, K. Tania, and F. Fathoni, “PREDIKSI TINGKAT KETERLIBATAN PEMAIN GAME ONLINE BERDASARKAN INTENSITAS DAN POLA AKTIVITAS BERMAIN MENGGUNAKAN PENDEKATAN HYBRID MACHINE LEARNING,” JATI (Jurnal Mhs. Tek. Inform., vol. 10, pp. 4054–4061, May 2026, doi: 10.36040/jati.v10i3.18152.
Y. Jung, H. Jang, and S. Kim, “Explainable AI for Player Retention: Hyperpersonalized Promotions to Prevent Game User Churn,” IEEE Trans. Games, vol. 18, pp. 369–382, Jan. 2026, doi: 10.1109/TG.2026.3689469.
E. Loria and A. Marconi, “Exploiting limited players’ behavioral data to predict churn in gamification,” Electron. Commer. Res. Appl., vol. 47, p. 101057, May 2021, doi: 10.1016/j.elerap.2021.101057.
H. Salman, A. Kalakech, and A. Steiti, “Random Forest Algorithm Overview,” Babylonian J. Mach. Learn., vol. 2024, pp. 69–79, Jun. 2024, doi: 10.58496/BJML/2024/007.
M. K. Suryadi, R. Herteno, S. W. Saputro, M. R. Faisal, and R. A. Nugroho, “Comparative Study of Various Hyperparameter Tuning on Random Forest Classification With SMOTE and Feature Selection Using Genetic Algorithm in Software Defect Prediction,” J. Electron. Electromed. Eng. Med. Informatics, vol. 6, no. 2, pp. 137–147, Mar. 2024, doi: 10.35882/JEEEMI.V6I2.375.
F. Hasan, R. Khatun, D. Raza, H. H. Tuhin, and B. Lab, “Chapter 7 - Hyper Parameter Optimization Using Machine Learning,” 2025, p. 43.
A. Paul, D. Mukherjee, P. Das, A. Gangopadhyay, A. Chintha, and S. Kundu, “Improved Random Forest for Classification,” IEEE Trans. Image Process., vol. 27, pp. 4012–4024, May 2018, doi: 10.1109/TIP.2018.2834830.
P. Probst, A.-L. Boulesteix, and M. Wright, Hyperparameters and Tuning Strategies for Random Forest. 2018. doi: 10.48550/arXiv.1804.03515.
S. Yuni, M. Oktavianingrum, and F. Aksa, “Analisis Feature Importance pada Penyakit Alzheimer Menggunakan Random Forest,” J. Data Sci. Methods Appl., vol. 2, pp. 49–57, Jun. 2026, doi: 10.30873/jodmapps.v2i1.1464.
W. A. Yasir, Online Gaming Behavior Insight, Kaggle Dataset, 2025. doi:10.34740/kaggle/dsv/14228009.
R. A. Prasetyo, W. T. Saputro, and D. Chirzah, “Perbandingan Logistic Regression, SVM, dan Random Forest untuk Analisis Sentimen Ulasan Aplikasi Gopay,” J. Inform. J. Pengemb. IT, vol. 10, no. 4, pp. 1176–1188, Sep. 2025, doi: 10.30591/JPIT.V10I4.8796.
K. Wisatawan Mancanegara Di Prov Sulawesi Selatan Dengan K-Means Dan SVM Nero Caesar Gosari, “Penerapan Data Mining Dalam Mengelompokkan Kunjungan Wisatawan Mancanegara Di Prov. Sulawesi Selatan Dengan K-Means Dan SVM,” J. Inform. J. Pengemb. IT, vol. 8, no. 3, pp. 174–180, Sep. 2023, Accessed: Jul. 27, 2026. [Online]. Available: https://ejournal.poltekharber.ac.id/index.php/informatika/article/view/4554
H. Salman, A. Kalakech, and A. Steiti, “Random Forest Algorithm Overview,” Babylonian J. Mach. Learn., vol. 2024, pp. 69–79, Jun. 2024, doi: 10.58496/BJML/2024/007.
D. Agustia and R. Suryono, “Comparison of Naïve Bayes, Random Forest, and Logistic Regression Algorithms for Sentiment Analysis Online Gambling,” INOVTEK Polbeng - Seri Inform., vol. 10, pp. 284–295, Jan. 2025, doi: 10.35314/prk93630.
K. Anggara, R. Gea, H. Upendar, and R. Fahlapi, “Perbandingan Naïve Bayes dan Random Forest untuk Klasifikasi Sentimen Ulasan Produk Amazon Fire HD 7,” J. Komput. Teknol. Inf. Sist. Komput., vol. 5, pp. 1369–1378, Jul. 2026, doi: 10.62712/juktisi.v5i2.1315.
DOI: https://doi.org/10.30591/jpit.v11i2.10186
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution 4.0 International License.
JPIT INDEXED BY
![]() | ![]() | ![]() | ![]() |
![]() | ![]() | ![]() | |

This work is licensed under a Creative Commons Attribution 4.0 International License.








