Machine Learning–Based Classification of Mobile Money Transactions

Authors

  • Mohamed Abdinur Hussein Center for Postgraduate Studies University of Bossaso – Garowe, Puntland, Somalia
  • Hassan Warsame Mohamed Center for Postgraduate Studies University of Bossaso – Garowe, Puntland, Somalia
  • Adamu Abubakar Department of Computer Science, International Islamic University Malaysia, Kuala Lumpur, Malaysia

DOI:

https://doi.org/10.31436/ijpcc.v12i2.716

Keywords:

mobile money; machine learning; transaction classification; class imbalance data mining; classification; decision tree; random forest; naïve Bayes

Abstract

Mobile money has become the backbone of everyday payments across much of the Horn of Africa, and the transaction records it leaves behind are a valuable but under-used source of insight. This paper investigates whether the type of a mobile money transaction can be recovered automatically from its attributes, a capability that would support transaction monitoring and customer analytics. Working within the Knowledge Discovery in Databases framework and using the WEKA platform, we compared three well-established classifiers—Naïve Bayes, J48 (WEKA's implementation of the C4.5 decision tree), and Random Forest—on a real dataset of 3,731 transactions described by ten attributes and labelled with one of ten transaction types. All models were assessed under 10-fold stratified cross-validation. The two tree-based methods clearly outperformed the probabilistic baseline: J48 reached 76.01% accuracy with a Kappa of 0.6147 and the lowest mean absolute error (0.0615), while Random Forest was almost identical at 75.58% and produced the smallest root mean squared error (0.1821); the difference between the two tree-based models was not statistically distinguishable. Naïve Bayes, hampered by its independence assumption, managed only 51.09%. A per-class breakdown showed near-perfect recognition of common categories such as P2P receive (F-measure above 0.93) but a complete failure on the rarest classes, several of which scored zero. This imbalance effect is quantified by the macro-averaged F1 of just 0.40 and balanced accuracy of 38.02% for the best model, far below its 76.01% overall accuracy. This gap is evidence that headline accuracy is inflated by the dominant classes. On balance we recommend J48 for deployment under the present experimental setting, since it pairs competitive accuracy with fast training and human-readable rules that translate directly into monitoring logic.

References

P. Chonka, “Displacement stigma, insecurity and inequality in urban Somalia: The limits of digital financial empowerment,” Contemporary Politics, pp. 1–21, 2025, doi: 10.1080/13569775.2025.2522448.

T. Suri, J. Aker, C. Batista, M. Callen, T. Ghani, W. Jack, et al., “Mobile money,” VoxDevLit, vol. 2, no. 2, p. 3, 2023. [Online]. Available: https://www.voxdev.org/sites/default/files/2023-09/Mobile_Money_2.pdf

S. R. Baker and L. Kueng, “Household financial transaction data,” Annual Review of Economics, vol. 14, no. 1, pp. 47–67, 2022, doi: 10.1146/annurev-economics-051520-023646.

D. Namakhwa, B. H. M. Tchereni, W. Masanjala, C. D. Namakhwa, S. L. Kuchande, and W. R. Mgomezulu, “Modelling and forecasting mobile money customer transaction volumes in rural and semi-urban Malawi: An autoregressive integrated moving average spatial decomposition,” Scientific African, vol. 26, Art. no. e02430, 2024, doi: 10.1016/j.sciaf.2024.e02430.

M. R. Miah and M. M. Islam, “Data preprocessing and feature engineering strategies for large-scale predictive modeling applications,” Review of Applied Science and Technology, vol. 3, no. 1, pp. 263–302, 2024, doi: 10.63125/tqqqed47.

A. Agarwal and V. A. Assenova, “Mobile money as a stepping stone to financial inclusion: How digital multisided platforms fill institutional voids,” Organization Science, vol. 35, no. 3, pp. 769–787, 2024, doi: 10.1287/orsc.2022.16562.

H. Gao, G. Kou, H. Liang, H. Zhang, X. Chao, C. C. Li, and Y. Dong, “Machine learning in business and finance: A literature review and research opportunities,” Financial Innovation, vol. 10, no. 1, Art. no. 86, 2024, doi: 10.1186/s40854-024-00629-z.

N. Hanbali and A. El-Yahyaoui, “Advanced machine learning and deep learning approaches for fraud detection in mobile money transactions,” Innovations in Systems and Software Engineering, vol. 21, no. 2, pp. 333–353, 2025, doi: 10.1007/s11334-025-00605-5.

J. Fan, L. K. Shar, R. Zhang, Z. Liu, W. Yang, D. Niyato, and K. Y. Lam, “Deep learning approaches for anti-money laundering on mobile transactions: Review, framework, and directions,” IEEE Internet of Things Journal, early access, 2026, doi: 10.1109/JIOT.2026.3653434.

A. Ali, S. Abd Razak, S. H. Othman, T. A. E. Eisa, A. Al-Dhaqm, M. Nasser, et al., “Financial fraud detection based on machine learning: A systematic literature review,” Applied Sciences, vol. 12, no. 19, Art. no. 9637, 2022, doi: 10.3390/app12199637.

J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques, 3rd ed. Waltham, MA: Morgan Kaufmann, 2012.

I. H. Witten, E. Frank, M. A. Hall, and C. J. Pal, Data Mining: Practical Machine Learning Tools and Techniques, 4th ed. Cambridge, MA: Morgan Kaufmann, 2016.

J. R. Quinlan, C4.5: Programs for Machine Learning. San Mateo, CA: Morgan Kaufmann, 1993.

L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001.

P. Domingos and M. Pazzani, “On the optimality of the simple Bayesian classifier under zero-one loss,” Machine Learning, vol. 29, no. 2–3, pp. 103–130, 1997.

R. Caruana and A. Niculescu-Mizil, “An empirical comparison of supervised learning algorithms,” in Proc. 23rd Int. Conf. Machine Learning, 2006, pp. 161–168.

M. Fernández-Delgado, E. Cernadas, S. Barro, and D. Amorim, “Do we need hundreds of classifiers to solve real world classification problems?” J. Machine Learning Research, vol. 15, no. 1, pp. 3133–3181, 2014.

D. H. Wolpert, “The lack of a priori distinctions between learning algorithms,” Neural Computation, vol. 8, no. 7, pp. 1341–1390, 1996.

J. R. Landis and G. G. Koch, “The measurement of observer agreement for categorical data,” Biometrics, vol. 33, no. 1, pp. 159–174, 1977.

Downloads

Published

30-07-2026

How to Cite

Hussein, M. A., Mohamed, H. W. ., & Abubakar, A. . (2026). Machine Learning–Based Classification of Mobile Money Transactions. International Journal on Perceptive and Cognitive Computing, 12(2), 19–27. https://doi.org/10.31436/ijpcc.v12i2.716

Issue

Section

Articles

Most read articles by the same author(s)

1 2 > >>