Skip to content

Files

Latest commit

author
Monsuru Adepeju
Jan 22, 2018
296ecc3 · Jan 22, 2018

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 28, 2017
May 31, 2017
Jan 22, 2018
Sep 22, 2017
Dec 19, 2017
Apr 12, 2017
May 25, 2017
Dec 14, 2017
Dec 11, 2017
Dec 11, 2017
Dec 11, 2017
Dec 11, 2017
Dec 11, 2017
Dec 11, 2017
Apr 12, 2017
Dec 11, 2017
Dec 21, 2017

Examples

IPython notebooks showing examples of the algorithms.

Data sets

  • Example data sets quickly explores packages which provide data from Chicago, UK police forces (spatial only) and some synthetic data.
  • Chicago explores the chicago dataset in more detail. This dataset is seemingly widely used in the literature, but the way events are geocoded seems to have changed, and so directly reproducing old research is hard. We explore this problem.

Other notebooks

  • Time of day considerations a currently rather short meditation on the (lack of) consideration of "time of day" effects in the literature.

Prediction algorithms

  • Naive two very "naive" algorithms which set the scene for what a baseline prediction looks like.
  • Retrospective hotspotting a classical algorithm which looks merely at the spatial location of recent events to estimate a risk.
  • Prospetive hotspotting the Bowers, Johnson & Pease algorithm which weights more recent events.
  • Time/Space KDE a more general algorithm which generalises all of the above.
  • Self-exciting points processes 1 the Mohler et al. algorithm which uses an "epidemic type aftershock model" together with variable bandwidth kernel density estimation. Produces a continuous risk intensity estimation.
  • Self-exciting points processes 2 algorithm from a subsequent Mohler et al. paper (which concerns itself with two field trials). This is a grid-based, parametric epidemic type aftershock model.
  • Space-Time Scan Statistic algorithm, replicating closely the SatScan software.

Network predictions

See the sub-directory networks for a network algorithm and example case study.