Abstract
Crime prediction has become an important research area that helps law enforcement agencies to make proactive decisions and improve public safety. In this study, a crime analytics framework is proposed that combines statistical forecasting and machine-learning-based classification techniques to analyze crime patterns and predict future crime. For forecasting, we use the ARIMA model, whereas for classification, XGBoost, Random Forest, Decision Tree, DNN, and Transformer are evaluated. ARIMA achieves ~29.06 RMSE, ~23.67 MAE, and ~0.4342 R², which shows its capability to model historical crime trends. In classification models, XGBoost achieved the best overall performance, with ~75.34% accuracy, ~0.8323 AUC, ~66.82% Precision, ~74.25% recall, and ~70.34% F1-score. Random Forest achieves ~80.25% recall, which is effective for identifying potential crime events. Results indicate that Machine learning and Deep learning techniques can improve crime prediction and can be useful for intelligent policing and smart city applications. For future work, to improve performance and interpretability, real-time data, spatiotemporal modeling, and Explainable AI (XAI) can be integrated.
Keywords
- Crime Prediction Search this journal for Crime Prediction (opens in a new tab)
- Crime Forecasting Search this journal for Crime Forecasting (opens in a new tab)
- Machine Learning Search this journal for Machine Learning (opens in a new tab)
- Deep Learning Search this journal for Deep Learning (opens in a new tab)
- Arima Search this journal for Arima (opens in a new tab)
References
- [1]K. Jenga, C. Catal, and G. Kar, “Machine learning in crime prediction,” Journal of Ambient Intelligence and Humanized Computing, vol. 14, no. 3, pp. 2887–2913, 2023.
- [2]J. Yin, “Crime Prediction Methods Based on Machine Learning: A Survey,” Computers, Materials & Continua, vol. 74, no. 2, 2023.
- [3]W. Safat, S. Asghar, and S. A. Gillani, “Empirical analysis for crime prediction and forecasting using machine learning and deep learning techniques,” IEEE Access, vol. 9, pp. 70080–70094, 2021.
- [4]G. O. Mohler et al., “Self-exciting point process modeling of crime,” Journal of the American Statistical Association, vol. 106, no. 493, pp. 100–108, 2011.
- [5]P. J. Brantingham and P. L. Brantingham, “Crime Pattern Theory,” Environmental Criminology and Crime Analysis, Routledge, 2008.
- [6]F. Doshi-Velez and B. Kim, “Towards a rigorous science of interpretable machine learning,” arXiv preprint arXiv:1702.08608, 2017.
- [7]A. Adadi and M. Berrada, “Peeking inside the black-box: a survey on explainable artificial intelligence (XAI),” IEEE Access, vol. 6, pp. 52138–52160, 2018.
- [8]M. T. Ribeiro, S. Singh, and C. Guestrin, “Why should I trust you? Explaining the predictions of any classifier,” Proc. ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining (KDD), 2016.
- [9]S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” Proc. Advances in Neural Information Processing Systems (NeurIPS), vol. 30, 2017.
- [10]A. B. Arrieta et al., “Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI,” Information Fusion, vol. 58, pp. 82–115, 2020.
- [11]R. Guidotti et al., “A survey of methods for explaining black box models,” ACM Computing Surveys, vol. 51, no. 5, pp. 1–42, 2018.
- [12]C. Rudin, “Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead,” Nature Machine Intelligence, vol. 1, no. 5, pp. 206–215, 2019.
- [13]V. Chiao, “Fairness, accountability and transparency: notes on algorithmic decision-making in criminal justice,” International Journal of Law in Context, vol. 15, no. 2, pp. 126–139, 2019.
- [14]R. Richardson, J. M. Schultz, and K. Crawford, “Dirty data, bad predictions: How civil rights violations impact police data, predictive policing systems, and justice,” NYU Law Review Online, vol. 94, p. 15, 2019.
- [15]K. Lum and W. Isaac, “To predict and serve?,” Significance, vol. 13, no. 5, pp. 14–19, 2016.
- [16]U. Bhatt et al., “Explainable machine learning in deployment,” Proc. ACM Conf. Fairness, Accountability, and Transparency (FAT), 2020.
- [17]R. Kitchin, “The real-time city? Big data and smart urbanism,” GeoJournal, vol. 79, no. 1, pp. 1–14, 2014.
- [18]M. Batty et al., “Smart cities of the future,” The European Physical Journal Special Topics, vol. 214, no. 1, pp. 481–518, 2012.
- [19]U. Fayyad, G. Piatetsky-Shapiro, and P. Smyth, “From data mining to knowledge discovery in databases,” AI Magazine, vol. 17, no. 3, pp. 37–37, 1996.
- [20]L. G. A. Alves, H. V. Ribeiro, and F. A. Rodrigues, “Crime prediction through urban metrics and statistical learning,” Physica A, vol. 505, pp. 435–443, 2018.
- [21]Y. Sun, T. Chen, and H. Yin, “Spatial-temporal meta-path guided explainable crime prediction,” World Wide Web, vol. 26, no. 4, pp. 2237–2263, 2023.
- [22]N. Shah, N. Bhagat, and M. Shah, “Crime forecasting: a machine learning and computer vision approach to crime prediction and prevention,” Visual Computing for Industry, Biomedicine, and Art, vol. 4, no. 1, p. 9, 2021.
- [23]Y. Rayhan and T. Hashem, “AIST: An interpretable attention-based deep learning model for crime prediction,” ACM Transactions on Spatial Algorithms and Systems, vol. 9, no. 2, pp. 1–31, 2023.
- [24]S. Gupta and S. Sayer, “Machine learning for public good: Predicting urban crime patterns to enhance community safety,” arXiv preprint arXiv:2409.10838, 2024.
- [25]E. K. Zavadskas, R. Bausys, and I. Mazonaviciute, “Safety evaluation methodology of urban public parks by multi-criteria decision making,” Landscape and Urban Planning, vol. 189, pp. 372–381, 2019.
- [26]R. F. Reier Forradellas et al., “Applied machine learning in social sciences: neural networks and crime prediction,” Social Sciences, vol. 10, no. 1, p. 4, 2020.
- [27]X. Zhang et al., “Interpretable machine learning models for crime prediction,” Computers, Environment and Urban Systems, vol. 94, p. 101789, 2022.
- [28]E. Ahishakiye et al., “Crime prediction using decision tree (J48) classification algorithm,” International Journal of Computer and Information Technology, vol. 6, no. 3, pp. 188–195, 2017.
- [29]G. Kim et al., “Correlation analysis between urban environment features and crime occurrence based on explainable artificial intelligence techniques,” Journal of Asian Architecture and Building Engineering, vol. 24, no. 6, pp. 5751–5770, 2025.
- [30]J. Alghamdi and T. Al-Dala’in, “Towards spatio-temporal crime events prediction,” Multimedia Tools and Applications, vol. 83, no. 7, pp. 18721–18737, 2024.
- [31]O. Esan and B. Chimbo, “Systematic Literature Review on Crime Prediction using Machine Learning Techniques,” The Indonesian Journal of Computer Science, vol. 14, no. 3, 2025.
- [32]W. Samek, T. Wiegand, and K.-R. Müller, “Explainable artificial intelligence: Understanding, visualizing and interpreting deep learning models,” arXiv preprint arXiv:1708.08296, 2017.
- [33]T. Wang et al., “A Bayesian framework for learning rule sets for interpretable classification,” Journal of Machine Learning Research, vol. 18, no. 70, pp. 1–37, 2017.
- [34]Z. C. Lipton, “The mythos of model interpretability,” Queue, vol. 16, no. 3, pp. 31–57, 2018.
- [35]P. Angelov and E. Soares, “Towards explainable deep neural networks (xDNN),” Neural Networks, vol. 130, pp. 185–194, 2020.
Downloads
Full-text downloads recorded for this article, by month.
No downloads have been recorded for this article yet. Figures appear here once readers begin downloading the full text.
How to Cite
Share this article
License
Copyright (c) 2026 Kinza Noor (Corresponding Author); Aiza Ameen, Athar Rahim, Aqsa Akram Aqsa (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Author (s) should affirm that the material has not been published previously. It has not been submitted and it is not under consideration by any other journal. At the same time author (s) need to execute a publication permission agreement to assume the responsibility of the submitted content and any omissions and errors therein. After submission of revised paper in the light of suggestions of the reviewers, the editorial team edits and formats manuscripts to bring uniformity and standardization in published material.
This work will be licensed under Creative Commons Attribution 4.0 International (CC BY 4.0) and under condition of the license, users are free to read, copy, remix, transform, redistribute, download, print, search or link to the full texts of articles and even build upon their work as long as they credit the author for the original work. Moreover, as per journal policy author (s) hold and retain copyrights without any restrictions.
Keywords
- Crime Prediction Search this journal for Crime Prediction (opens in a new tab)
- Crime Forecasting Search this journal for Crime Forecasting (opens in a new tab)
- Machine Learning Search this journal for Machine Learning (opens in a new tab)
- Deep Learning Search this journal for Deep Learning (opens in a new tab)
- Arima Search this journal for Arima (opens in a new tab)
Section
Published in
Vol. 1 No. 1 (2026)
Advances in Intelligent Computing and Emerging Computational Applications
View issue contents
Published
Submissions
Have research to publish? Journal of Computing Horizons welcomes submissions.
Make a Submission