Comparison of Model Performance for Basic and Advanced Modeling Approaches to Crime Prediction
- 1 Shanghai East Foreign Language School Affiliated to SISU, Shanghai, China
Abstract
A good machine learning model would greatly contribute to an accurate crime prediction. Thus, researchers select advanced models more frequently than basic models. To find out whether advanced models have a prominent advantage, this study focuses shift from obtaining crime prediction to on comparing model performance between these two types of models on crime prediction. In this study, we aimed to predict burglary occurrence in Los Angeles City, and compared a basic model just using prior year burglary occurrence with advanced models including linear regressor and random forest regressor. In addition, American Community Survey data was used to provide neighborhood level socio-economic features. After finishing data preprocessing steps that regularize the dataset, recursive feature elimination was utilized to determine the final features and the parameters of the two advanced models. Finally, to find out the best fit model, three metrics were used to evaluate model performance: R squared, adjusted R squared and mean squared error. The results indicate that linear regressor is the most suitable model among three models applied in the study with a slightly smaller mean squared error than that of basic model, whereas random forest model performed worse than the basic model. With a much more complex learning steps, advanced models did not show prominent advantages, and further research to extend the current study were discussed.
- Raphael, S. and Winter-Ebmer, R. (2001) Identifying the Effect of Unemployment on Crime. The Journal of Law and Economics, 44, 259-283. https://doi.org/10.1086/320275
- Sampson, R.J., Raudenbush, S.W. and Earls, F. (1997) Neighborhoods and violent Crime: A Multilevel Study of Collective Efficacy. Science, 277, 918-924. https://doi.org/10.1126/science.277.5328.918
- Al Boni, M. and Gerber, M.S. (2016) Area-Specific Crime Prediction Models. 15th IEEE International Conference on Machine Learning and Applications (ICMLA), Anaheim, CA, 18-20 December 2016. https://doi.org/10.1109/ICMLA.2016.0118
- Nguyen, T.T., Hatua, A. and Sung, A.H. (2017) Building a Learning Machine Classifier with Inadequate Data for Crime Prediction. Journal of Advances in Information Technology, 8, 141-147. https://doi.org/10.12720/jait.8.2.141-147
- Alves, L.G.A., Ribeiro, V. and Rodrigues, F.A. (2017) Crime Prediction through Urban Metrics and Statistical Learning. Physica A: Statistical Mechanics and its Applications, 505, 435-443.
- Crime Data from 2010 to Present. Los Angeles Police Department. https://data.lacity.org/A-Safe-City/Crime-Data-from-2010-to-Present/y8tr-7khq
- Los Angeles County GIS Data Portal. Census Tracts (2010) https://egis3.lacounty.gov/dataportal/2011/07/19/census-tracts-2010
- Social Explorer. American Community Survey-ACS 2012-2016, 2011-2015, and 2010-2014 ACS Data (5-Year Estimates). https://www.socialexplorer.com