Commenced in January 2007
Paper Count: 32295
An Application for Risk of Crime Prediction Using Machine Learning
Authors: Luis Fonseca, Filipe Cabral Pinto, Susana Sargento
Abstract:The increase of the world population, especially in large urban centers, has resulted in new challenges particularly with the control and optimization of public safety. Thus, in the present work, a solution is proposed for the prediction of criminal occurrences in a city based on historical data of incidents and demographic information. The entire research and implementation will be presented start with the data collection from its original source, the treatment and transformations applied to them, choice and the evaluation and implementation of the Machine Learning model up to the application layer. Classification models will be implemented to predict criminal risk for a given time interval and location. Machine Learning algorithms such as Random Forest, Neural Networks, K-Nearest Neighbors and Logistic Regression will be used to predict occurrences, and their performance will be compared according to the data processing and transformation used. The results show that the use of Machine Learning techniques helps to anticipate criminal occurrences, which contributed to the reinforcement of public security. Finally, the models were implemented on a platform that will provide an API to enable other entities to make requests for predictions in real-time. An application will also be presented where it is possible to show criminal predictions visually.
Keywords: Crime prediction, machine learning, public safety, smart city.Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 1092
 U. Nations, “68% of the world population projected to live in urban areas by 2050, says un — un desa — united nations department of economic and social affairs,” https://www.un.org/development/desa/en/ news/population/2018-revision-of-world-urbanization-prospects.html, May 2018, (Accessed on 26/10/2019).
 G. T. Database, “Incidents over time,” https://www.start.umd.edu/gtd/, 12 2018, (Accessed on 04/05/2020).
 Y. Wu, W. Zhang, J. Shen, Z. Mo, and Y. Peng, “Smart city with Chinese characteristics against the background of big data: Idea, action and risk,” Journal of Cleaner Production, vol. 173, pp. 60–66, 2018.
[Online]. Available: https://doi.org/10.1016/j.jclepro.2017.01.047
 M. Mohammadi and A. Al-Fuqaha, “Enabling Cognitive Smart Cities Using Big Data and Machine Learning: Approaches and Challenges,” IEEE Communications Magazine, vol. 56, no. 2, pp. 94–101, 2018.
 M. S. Mahdavinejad, M. Rezvan, M. Barekatain, P. Adibi, P. Barnaghi, and A. P. Sheth, “Machine learning for internet of things data analysis: a survey,” Digital Communications and Networks, vol. 4, no. 3, pp. 161–175, 2018.
 L. McClendon and N. Meghanathan, “Using Machine Learning Algorithms to Analyze Crime Data,” Machine Learning and Applications: An International Journal, vol. 2, no. 1, pp. 1–12, 2015.
 Y. L. Lin, T. Y. Chen, and L. C. Yu, “Using Machine Learning to Assist Crime Prevention,” Proceedings - 2017 6th IIAI International Congress on Advanced Applied Informatics, IIAI-AAI 2017, pp. 1029–1030, 2017.
 S. K. Rumi, K. Deng, and F. D. Salim, “Crime event prediction with dynamic features,” EPJ Data Science, vol. 7, no. 1, 2018.
[Online]. Available: http://dx.doi.org/10.1140/epjds/s13688-018-0171-7
 DataSF, “Datasf — office of the chief data officer — city and county of san francisco,” https://datasf.org/, 10 2020, (Accessed on 10/12/2020).
 M. R. Berthold and K. P. Huber, “MISSING VALUES AND LEARNING OF FUZZY RULES,” vol. 6, no. 1998, pp. 171–178, 1998.
 DataSF, “Analysis neighborhoods - 2010 census tracts assigned to neighborhoods — datasf — city and county of san francisco,” https://data.sfgov.org/Geographic-Locations-and-Boundaries/ Analysis-Neighborhoods-2010-census-tracts-assigned/bwbp-wk3r/, 10 2020, (Accessed on 10/12/2020).
 U. S. Census, “https://data.census.gov/cedsci/table?q=san francisco income,” https://data.census.gov/cedsci/table?q=san%20francisco% 20income, 10 2020, (Accessed on 10/12/2020).
 ——, “https://data.census.gov/cedsci/table?q=san francisco age&tid=acsst1y2019.s0101,” https://data.census.gov/cedsci/table? q=san%20francisco%20age&tid=ACSST1Y2019.S0101, 10 2020, (Accessed on 10/12/2020).
 ——, “https://data.census.gov/cedsci/table?q=san francisco population&tid=acsdp1y2019.dp05,” https://data.census.gov/cedsci/ table?q=san%20francisco%20population&tid=ACSDP1Y2019.DP05, 10 2020, (Accessed on 10/12/2020).
 L. A. Shalabi, R. Mahmod, A. Azim, A. Ghani, and Y. M. Saman, “A New Model for Extracting a Classifactory Knowledge from Large Datasets Using Rough Set Approach A New Model For Extracting A Classifactory Knowledge From Large Datasets Using Rough Set Approach,” no. January 1999, 1999.
 S. Learn, “6.3. preprocessing data — scikit-learn 0.23.2 documentation,” https://scikit-learn.org/stable/modules/preprocessing.html, 10 2020, (Accessed on 10/12/2020).
 imbalanced-learn API, “imbalanced-learn api — imbalanced-learn 0.5.0 documentation,” https://imbalanced-learn.readthedocs.io/en/stable/ api.html, 10 2020, (Accessed on 10/12/2020).
 S. Learn, “3.1. cross-validation: evaluating estimator performance — scikit-learn 0.23.2 documentation,” https://scikit-learn.org/stable/ modules/cross validation.html, 10 2020, (Accessed on 10/12/2020).