Predicting Crime Time Intervals Using Machine Learning Models
Abstract
Understanding the time interval of crime can help optimize patrols and guards to identify crime-prone areas and estimate the time prone to crime. The urgency of this research lies in the need to develop more efficient methods for analyzing and preventing crime. By understanding the time pattern of crime, law enforcement can improve more effective prevention and law enforcement strategies. The methods used are DT, XGBoost, and CatBoost. This method was chosen because of its superior ability to handle large, complex, and unbalanced datasets. The evaluation was carried out using MAPE to measure the level of accuracy of crime clock predictions. The results show that XGBoost successfully predicts the time pattern of crimes with a MAPE of 8.29%, indicating a high level of accuracy. These results can be effectively applied to predict time-based crimes, helping to make better preventive decisions and improving the efficiency of security resource allocation.
Downloads
References
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, doi: 10.1109/ACCESS.2021.3078117.
U. M. Butt, S. Letchmunan, F. H. Hassan, M. Ali, A. Baqir, and H. H. R. Sherazi, “Spatio-Temporal Crime HotSpot Detection and Prediction: A Systematic Literature Review,” IEEE Access, vol. 8, pp. 166553–166574, 2020, doi: 10.1109/ACCESS.2020.3022808.
T. Podzolkova, I. Shynkarenko, and P. Sergii, “Use of Information Systems in Disclosure of Criminal Offenses,” in Integrated Computer Technologies in Mechanical Engineering, pp. 482–497, 2023.
C. M. Ruiz-Paz, “Crime Analysis in an International Context,” in The Crime Analyst’s Companion, M. Bland, B. Ariel, and N. Ridgeon, Eds. Cham: Springer International Publishing, 2022, pp. 21–39. doi: 10.1007/978-3-030-94364-6_3.
R. Yulianto et al., “Innovative UNET-Based Steel Defect Detection Using 5 Pretrained Models,” vol. 10, no. 04, pp. 2365–2378, 2023.
M. Saraiva, I. Matijošaitienė, S. Mishra, and A. Amante, “Crime Prediction and Monitoring in Porto, Portugal, Using Machine Learning, Spatial and Text Analytics,” ISPRS Int. J. Geo-Information, vol. 11, no. 7, 2022, doi: 10.3390/ijgi11070400.
H. Zimmermann, A., Di Rosa, E., & Kim, “Technology Can ’ t Fix Algo r ithmic I nj us tice,” Bost. Rev., pp. 1–13, 2020.
F. Ding, M. Hardt, J. Miller, and L. Schmidt, “Retiring Adult: New Datasets for Fair Machine Learning,” in Advances in Neural Information Processing Systems, vol. 34, pp. 6478–6490, 2021.
F. Durante and S. T. Fiske, “How social-class stereotypes maintain inequality,” Curr. Opin. Psychol., vol. 18, pp. 43–48, 2017, doi: 10.1016/j.copsyc.2017.07.033.
R. Mühlhoff, “Predictive privacy: towards an applied ethics of data analytics,” Ethics Inf. Technol., vol. 23, no. 4, pp. 675–690, 2021, doi: 10.1007/s10676-021-09606-x.
Vengadeswaran, D. Binu, and L. Rai, “An Efficient Framework for Crime Prediction Using Feature Engineering and Machine Learning,” in Advances in Data and Information Sciences, 2024, pp. 49–59.
R. de V. dos Santos, J. V. V. Coelho, N. A. A. Cacho, and D. S. A. de Araújo, “A criminal macrocause classification model: An enhancement for violent crime analysis considering an unbalanced dataset,” Expert Syst. Appl., vol. 238, p. 121702, 2024, doi: 10.1016/j.eswa.2023.121702.
N. O. Edoka, Crime incidents classification using supervised machine learning techniques: Chicago, Doctoral dissertation, National College of Ireland, Dublin, 2020.
Z. Yan, H. Chen, X. Dong, K. Zhou, and Z. Xu, “Research on prediction of multi-class theft crimes by an optimized decomposition and fusion method based on XGBoost,” Expert Syst. Appl., vol. 207, p. 117943, 2022, doi: 10.1016/j.eswa.2022.117943.
R. N. Zulfahmi, M. K. Daul, M. Al Ayyubi, I. W. Julianta, Pradnyana, and R. Dwi Bekti, “Pemetaan Kerentanan Tingkat Kriminalitas Menggunakan Metode Self Organizing Map,” INSOLOGI J. Sains dan Teknol., vol. 2, no. 5, pp. 872–881, 2023, doi: 10.55123/insologi.v2i5.2566.
D. M, H. A. S, and M. Meleet, “Crime Prediction and Forecasting using Voting Classifier,” in 2021 Fourth International Conference on Electrical, Computer and Communication Technologies (ICECCT), 2021, pp. 1–5. doi: 10.1109/ICECCT52121.2021.9616911.
A. Alfaries, H. Mengash, A. Yasar, and E. Shakshuki, Eds., Advances in Data Science, Cyber Security and IT Applications: First International Conference on Computing, ICC 2019, Riyadh, Saudi Arabia, December 10–12, 2019, Proceedings, Part II, vol. 1098. Springer Nature, 2019.
S. Moeinizade and G. Hu, “Predicting Metropolitan Crime Rates Using Machine Learning Techniques,” in Smart Service Systems, Operations Management, and Analytics, 2020, pp. 77–86.
S. A. Ajagbe, J. B. Oladosu, and A. O. Adesina, “Accuracy of Machine Learning Models for Mortality Rate Prediction in a Crime Dataset Development of a web based aboriginal virtual patient system for training medical students View project Physics Electronics View project,” Researchgate.Net, vol. 10, no. April 2021, pp. 150–160, 2020.
M. H. Chee, “Crime rate prediction using machine learning,” Universiti Tunku Abdu Rahman, 2022.
H. K. Sharma, T. Choudhury, and A. Kandwal, “Machine learning based analytical approach for geographical analysis and prediction of Boston City crime using geospatial dataset,” GeoJournal, vol. 88, no. 1, pp. 15–27, 2023, doi: 10.1007/s10708-021-10485-4.
A. A. Almuhanna, M. M. Alrehili, S. H. Alsubhi, and L. Syed, “Prediction of Crime in Neighbourhoods of New York City using Spatial Data Analysis,” in 2021 1st International Conference on Artificial Intelligence and Data Analytics (CAIDA), 2021, pp. 23–30. doi: 10.1109/CAIDA51941.2021.9425120.
L. Zhang and D. Jánošík, “Enhanced short-term load forecasting with hybrid machine learning models: CatBoost and XGBoost approaches,” Expert Syst. Appl., vol. 241, p. 122686, 2024, doi: 10.1016/j.eswa.2023.122686.
S. Hussain et al., “A novel feature engineered-CatBoost-based supervised machine learning framework for electricity theft detection,” Energy Reports, vol. 7, pp. 4425–4436, 2021, doi: 10.1016/j.egyr.2021.07.008.
R. S. Mohril, B. S. Solanki, M. S. Kulkarni, and B. K. Lad, “XGBoost based residual life prediction in the presence of human error in maintenance,” Neural Comput. Appl., vol. 35, no. 4, pp. 3025–3039, 2023, doi: 10.1007/s00521-022-07216-2.
J. T. Hancock and T. M. Khoshgoftaar, “CatBoost for big data: an interdisciplinary review,” J. Big Data, vol. 7, no. 1, p. 94, 2020, doi: 10.1186/s40537-020-00369-8.
M. S. K. Luu, S. Banerjee, E. N. Pavlovskiy, and B. N. Tuchinov, “Harnessing Ensemble Machine Learning Models for Timely Diagnosis of Breast Cancer Metastasis: A Case Study on CatBoost, XGBoost, and LGBM,” in 2024 IEEE 25th International Conference of Young Professionals in Electron Devices and Materials (EDM), 2024, pp. 2320–2325. doi: 10.1109/EDM61683.2024.10615210.
bps.go.id, “Selang Waktu Terjadinya Kejahatan (Crime Clock),” Badan pusat Statistik, 2023.
I. Rahmatillah, E. Astuty, and I. D. Sudirman, “An Improved Decision Tree Model for Forecasting Consumer Decision in a Medium Groceries Store,” in 2023 IEEE 17th International Conference on Industrial and Information Systems (ICIIS), 2023, pp. 245–250. doi: 10.1109/ICIIS58898.2023.10253592.
Y. Zhou, X. Song, and M. Zhou, “Supply Chain Fraud Prediction Based On XGBoost Method,” in 2021 IEEE 2nd International Conference on Big Data, Artificial Intelligence and Internet of Things Engineering (ICBAIE), 2021, pp. 539–542. doi: 10.1109/ICBAIE52039.2021.9389949.
G. S. Kumar and R. Dhanalakshmi, “Performance Analysis of CatBoost Algorithm and XGBoost Algorithm for Prediction of CO2Emission Rating,” in 2023 6th International Conference on Contemporary Computing and Informatics (IC3I), 2023, vol. 6, pp. 1497–1501. doi: 10.1109/IC3I59117.2023.10398160.
S. Wang, “Comparison and Analysis of the Effect of XGBoost Classification, BP Neural Network Classification and CatBoost Classification on Malware Attack Prediction,” in 2023 International Conference on Intelligent Communication and Computer Engineering (ICICCE), 2023, pp. 77–80. doi: 10.1109/ICICCE61720.2023.00018.
Y. Tani, A. Kobayashi, K. Masai, T. Fukuda, M. Sugimoto, and T. Kimura, “Assessing Individual Decision-Making Skill by Manipulating Predictive and Unpredictive Cues in a Virtual Baseball Batting Environment,” in 2023 IEEE Conference on Virtual Reality and 3D User Interfaces Abstracts and Workshops (VRW), 2023, pp. 775–776. doi: 10.1109/VRW58643.2023.00230.
Al-Khowarizmi, S. Efendi, M. K. M. Nasution, and M. Herman, “The Role of Detection Rate in MAPE to Improve Measurement Accuracy for Predicting FinTech Data in Various Regressions,” in 2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE), 2023, pp. 874–879. doi: 10.1109/ICCoSITE57641.2023.10127820.
S. Y. Heng et al., “Artificial neural network model with different backpropagation algorithms and meteorological data for solar radiation prediction,” Sci. Rep., vol. 12, no. 1, p. 10457, 2022, doi: 10.1038/s41598-022-13532-3.
Ü. Ağbulut, “A novel stochastic model for very short-term wind speed forecasting in the determination of wind energy potential of a region: A case study from Turkey,” Sustain. Energy Technol. Assessments, vol. 51, p. 101853, 2022, doi: 10.1016/j.seta.2021.101853.
L. Ding, Y. Bai, M.-D. Liu, M.-H. Fan, and J. Yang, “Predicting short wind speed with a hybrid model based on a piecewise error correction method and Elman neural network,” Energy, vol. 244, p. 122630, 2022, doi: 10.1016/j.energy.2021.122630.
N. Shrestha, B. Chopra, A. Z. Henley, and C. Parnin, “Detangler: Helping Data Scientists Explore, Understand, and Debug Data Wrangling Pipelines,” in 2023 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC), 2023, pp. 189–198. doi: 10.1109/VL-HCC57772.2023.00031.
Z. Zhang, P. Groth, I. Calixto, and S. Schelter, “Directions Towards Efficient and Automated Data Wrangling with Large Language Models,” in 2024 IEEE 40th International Conference on Data Engineering Workshops (ICDEW), 2024, pp. 301–304. doi: 10.1109/ICDEW61823.2024.00044.


Copyright (c) 2024 Journal of Information Systems and Informatics

This work is licensed under a Creative Commons Attribution 4.0 International License.
- I certify that I have read, understand and agreed to the Journal of Information Systems and Informatics (Journal-ISI) submission guidelines, policies and submission declaration. Submission already using the provided template.
- I certify that all authors have approved the publication of this and there is no conflict of interest.
- I confirm that the manuscript is the authors' original work and the manuscript has not received prior publication and is not under consideration for publication elsewhere and has not been previously published.
- I confirm that all authors listed on the title page have contributed significantly to the work, have read the manuscript, attest to the validity and legitimacy of the data and its interpretation, and agree to its submission.
- I confirm that the paper now submitted is not copied or plagiarized version of some other published work.
- I declare that I shall not submit the paper for publication in any other Journal or Magazine till the decision is made by journal editors.
- If the paper is finally accepted by the journal for publication, I confirm that I will either publish the paper immediately or withdraw it according to withdrawal policies
- I Agree that the paper published by this journal, I transfer copyright or assign exclusive rights to the publisher (including commercial rights)