Related Experiment Video
Updated: Jan 11, 2026

Author Spotlight: Efficient Image Recognition Using Directional Gradient Histogram Technique and Support Vector Machines
Published on: January 5, 2024
Predicting neighborhood-level violence from features of the physical and social environment with machine learning
Veronica A Pear1, Colette Smirniotis2, Rose M C Kagawa2
1Centers for Violence Prevention, University of California Davis School of Medicine, 4301 X St, Sacramento, CA, 95817, USA. vapear@health.ucdavis.edu.
Background:
Violence is a leading cause of death and disparity in the United States. Individuals' physical and social environments can prevent or foster violence, but these complex milieus are challenging to model. In this study, we used machine learning to identify features of the local environment that are most predictive of violence in two Midwestern cities struggling with disinvestment and crime.
Methods:
This was a serial cross-sectional study of census tracts in Cleveland, Ohio and Detroit, Michigan, 2011-2019. We took a machine learning approach-extreme gradient boosting-that enabled us to model 55 neighborhood features simultaneously and without making assumptions about their relationships or functional form. These features included building quality and type, public goods and services, residential stability, socioeconomic features, historical features, and demographic features. Primary outcomes were police-reported counts per square mile of violent crime and violent crime involving a firearm in Cleveland. Secondary outcomes were homicide and firearm homicide in Cleveland and Detroit. Variable importance was assessed with Shapley values.
Results:
The primary models performed well, with a correlation between observed and predicted counts of 0.89 for violent crime and 0.65 for firearm-involved violent crime. For both outcomes, the variables with the highest importance tended to be in the domains of building quality and type or socioeconomic features. Several variables had high importance for both outcomes, including multifamily homes per square mile, road network density, commercial buildings per square mile, and percentage of the population that was white.
Conclusions:
These findings underscore the fundamental importance of place in preventing and generating violence. Future studies should explore modifiable, highly important variables as potential points of intervention.
Related Concept Videos
Steps in Outbreak Investigation
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...