Abstract
There are common factors that characterize individuals who commit crime. Statistically, relationship between factors could be measured and formed using regression models. While modeling crime rates was widely approached using the ordinary regression model. However, this model is not much capable for categorical response variables such as crime type. In this paper, we are interested to classify crime type using some independent variables using multinomial logistic regression and \(K\)-Nearest Neighbor (\(K\)-NN) models. While both are powerful models for classification purposes. The secondary crime data was collected from 2019 (pre-pandemic) and 2020 (during a pandemic) in the police office of Payakumbuh Region, West Sumatra, Indonesia. The results indicate that the crime type was influenced by employment status (unemployed persons) and time occurring (daytime) for both years periods. In the testing data phase, the average of accuracy levels of multinomial logistic regression and \(K\)-NN are 66.81% and 73.86%, respectively. In this case study, \(K\)-NN model is better approach to be used for the prediction and classification of crime type if compared with multinomial logistic regression. Both models could be considered for supporting the police divisions on decision making and prevention strategy.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Wibowo, A.H., Wijaya, A.R.: Kajian awal profiling kejahatan dan strategi dalam usaha mencegah terjadinya tindak kriminalitas di Kabupaten Sleman. In: Proceeding of National Conference IDEC, pp. 1–8 (2018)
Putra, A.D., Martha, G.S., Fikram, M., Yuhan, R.J.: Faktor-faktor yang mempengaruhi tingkat kriminalitas di Indonesia tahun 2018. Indones. J. App. Stat. 3, 123–131 (2018)
Wibowo, A.H., Oesman, T.I.: The comparative on the accuracy of K-NN, Naïve Bayes and decision tree algorithms in predicting crimes and criminal actions in Sleman regency. J. Phys. Conf. Ser. 1450, 012076 (2020)
Kang, S.: K-nearest neighbor learning with graph neural network. Mathematics 9, 1–12 (2021)
Pednekar, V., Mahale, T., Gadhave, P., Gore, A.: Crime rate prediction using KNN. Int. J. Recent Innov. Trend Compt. Comm. 6, 124–127 (2018)
Mahmud, S., Nuha, M., Sattar, A.: Crime rate prediction using machine learning and data mining. In: Borah, S., Pradhan, R., Dey, N., Gupta, P. (eds.) Soft Computing Techniques and Applications, vol. 1248, pp. 59–69. Springer, Singapore (2021). https://doi.org/10.1007/978-981-15-7394-1_5
Kumar, A., Verma, A., Shinde, G., Sukhdeve, Y., Lal, N.: Crime prediction using K-NN algorithm. In: Proceeding ic-ETITE (2020)
Agresti, A.: Categorical Data Analysis, 3rd edn. Wiley, Hoboken (2012)
El-Habil, A.M.: An application on multinomial logistic model. Pak. J. Stat. Oper. Res. 7, 271–291 (2012)
Shah, N., Bhagat, N., Shah, M.: Crime forecasting: a machine learning and computer vision approach to crime prediction and prevention. Vis. Comput. Ind. Biomed. Art 4(1), 1–14 (2021). https://doi.org/10.1186/s42492-021-00075-z
Kim, K.-S., Jeong, Y.-H.: A study on crime prediction to reduce crime rate based on artificial intelligence. Korea J. Art. Intel. 9, 15–20 (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Efendi, R., Isnaini, Y., Rahayu, S.W., Masri, R., Samsudin, N.A., Rasyidah (2022). Modeling Public Crime Type Using Multinomial Logistic Regression and K-Nearest Neighbor: Pre-and During-Pandemic COVID-19. In: Ghazali, R., Mohd Nawi, N., Deris, M.M., Abawajy, J.H., Arbaiy, N. (eds) Recent Advances in Soft Computing and Data Mining. SCDM 2022. Lecture Notes in Networks and Systems, vol 457. Springer, Cham. https://doi.org/10.1007/978-3-031-00828-3_32
Download citation
DOI: https://doi.org/10.1007/978-3-031-00828-3_32
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-00827-6
Online ISBN: 978-3-031-00828-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)