Classification of Spending Segmentation in Mobile Game Applications Using Random Forest and Decision Tree Algorithms
DOI:
https://doi.org/10.59934/jaiea.v5i2.1961Keywords:
Classification, Spending Segment, Random Forest, Decision tree, Mobile Game, Machine LearningAbstract
This research aims to classify spending segmentation in mobile game users using Random Forest and Decision Tree algorithms. The dataset consists of demographic attributes, gameplay behavior, session frequency, and historical spending records. Several preprocessing steps uwere applied, including missing value handling, label encoding, one-hot encoding, and feature scaling. The data were divided into an 80:20 training-testing ratio, and hyperparameter tuning was performed using GridSearchCV. The results indicate that Random Forest achieved higher accuracy compared to Decision Tree, demonstrating better generalization for multiclass segmentation (Low, Medium, High spenders). This study shows the potential of machine learning in predicting user spending behavior to support data-driven monetization strategies in mobile game applications.
Downloads
References
S. M. Tham and G. P. Perreault, “A Whale of a Tale: Gaming Disorder and Spending and Their Associations With Ad Watching in Role-Playing and Loot-Box Gaming.” [Online]. Available: http://igi.camh.net/doi/pdf/xxxx
F. J. Zagreb, “Machine Learning Based Models for Prediction of Player Behavior and Purchase Decisions in Digital Games,” 2018.
M. Imani, “Evaluating Classification and Sampling Methods for Customer Churn Prediction under Varying Imbalance Levels.”
G. K. S. Lee, “In-App Purchase Behaviour and Game Design in Mobile Gaming: A Review of Monetisation and Player Experience,” International Journal of Mobile Applications and Technologies, vol. 1, no. 1, May 2025, doi: 10.51137/wrp.ijmat.2025.glit.45789.
J. Wu, “Distributed Intelligent Optimization of E-commerce User Purchase Data Mining using Spark Framework,” Informatica (Slovenia), vol. 48, no. 20, pp. 29–40, 2024, doi: 10.31449/inf.v48i20.6779.
R. Jehad and S. A. Yousif, “Fake news classification using random forest and decision tree (J48),” Al-Nahrain Journal of Science, vol. 23, no. 4, pp. 49–55, Dec. 2020, doi: 10.22401/ANJS.23.4.09.
G. T. Atmaja, “Enhancing Fashion Product Sales Segmentation Using Random Forest with SMOTE and Hyperparameter Optimization,” Jurnal Ilmu Komputer dan Informatika, vol. 5, no. 1, pp. 45–56, Aug. 2025, doi: 10.54082/jiki.280.
L. Sari, A. Romadloni, R. Lityaningrum, and H. D. Hastuti, “Implementation of LightGBM and Random Forest in Potential Customer Classification,” TIERS Information Technology Journal, vol. 4, no. 1, pp. 43–55, Jun. 2023, doi: 10.38043/tiers.v4i1.4355.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

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








