Social Sciences (Dec 2020)
Applied Machine Learning in Social Sciences: Neural Networks and Crime Prediction
Abstract
This study proposes a crime prediction model according to communes (areas or districts in which the city of Buenos Aires is divided). For this, the Python programming language is used, due to its versatility and wide availability of libraries oriented to Machine Learning. The crimes reported (period 2016–2019) that occurred in the city of Buenos Aires selected to test the model are: homicides, theft, injuries, and robberies. With this, it is possible to generate a crime prediction model according to the city area based on the SEMMA (Sample, Explore, Modify, Model, and Assess) model and after data manipulation, standardization and cleaning; clustering is performed using K-means and subsequently the neural network is generated. For prediction, it is necessary to provide the model with the information corresponding to the predictive characteristics (predict); these characteristics being according to the developed neural network model: year, month, day, time zone, commune, and type of crime.
Keywords