Skip to content

Experiments using SpotCrime data to forecast the risk of violent crime

License

Notifications You must be signed in to change notification settings

subelsky/crimegraph

Repository files navigation

CrimeGraph

In the CrimeGraph project, I will explore training a graph deep learning model to forecast the probability of crime events in the City of Baltimore, using data provided by SpotCrime. SpotCrime maintains a uniquely comprehensive database of geocoded crime reports obtained from public safety databases and news reports from across the country. They were kind enough to grant me access to 23 years of data documenting crime events in the Baltimore.

I plan to adopt the Gated Localised Diffusion (GLDnet) architecture described in the 2020 paper Graph Deep Learning Model for Network-based Predictive Hotspot Mapping of Sparse Spatio-Temporal Events.

Models with this design can learn from the spatial patterns of crime events by representing intersecting city streets as a graph of nodes and edges.

Work in Progress

Technical Details

The project is written in Python 3.10 and uses these libraries:

  • networkx
  • geopandas
  • shapely
  • matplotlib
  • sklearn

Tools

  • Jupyter Notebook
  • Quarto (for web publishing)

License

CC BY-NC-SA 4.0

Questions

Email me at contact@subelsky.com.

About

Experiments using SpotCrime data to forecast the risk of violent crime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published