Skip to main content

Predicting Crime Using Spatial Features

Part of the Lecture Notes in Computer Science book series (LNAI,volume 10832)


Our study aims to build a machine learning model for crime prediction using geospatial features for different categories of crime. The reverse geocoding technique is applied to retrieve open street map (OSM) spatial data. This study also proposes finding hotpoints extracted from crime hotspots area found by Hierarchical Density-Based Spatial Clustering of Applications with Noise (HDBSCAN). A spatial distance feature is then computed based on the position of different hotpoints for various types of crime and this value is used as a feature for classifiers. We test the engineered features in crime data from Royal Canadian Mounted Police of Halifax, NS. We observed a significant performance improvement in crime prediction using the new generated spatial features.

This is a preview of subscription content, access via your institution.

Buying options

USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-319-89656-4_42
  • Chapter length: 7 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
USD   64.99
Price excludes VAT (USA)
  • ISBN: 978-3-319-89656-4
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   84.00
Price excludes VAT (USA)
Fig. 1.


  1. Bromley, R.D., Nelson, A.L.: Alcohol-related crime and disorder across urban space and time: evidence from a British city. Geoforum 33(2), 239–254 (2002)

    CrossRef  Google Scholar 

  2. Brower, A.M., Carroll, L.: Spatial and temporal aspects of alcohol-related crime in a college town. J. Am. Coll. Health 55, 267–275 (2007)

    CrossRef  Google Scholar 

  3. Buczak, A.L., Gifford, C.M.: Fuzzy association rule mining for community crime pattern discovery. In: ACM SIGKDD Workshop on Intelligence and Security Informatics, ISI-KDD 2010, pp. 2:1–2:10. ACM, New York (2010)

    Google Scholar 

  4. Campello, R.J.G.B., Moulavi, D., Sander, J.: Density-based clustering based on hierarchical density estimates. In: Pei, J., Tseng, V.S., Cao, L., Motoda, H., Xu, G. (eds.) PAKDD 2013. LNCS (LNAI), vol. 7819, pp. 160–172. Springer, Heidelberg (2013).

    CrossRef  Google Scholar 

  5. Chainey, S., Tompson, L., Uhlig, S.: The utility of hotspot mapping for predicting spatial patterns of crime. Secur. J. 21(1), 4–28 (2008)

    CrossRef  Google Scholar 

  6. Executive Office of the President: Big Data: A Report on Algorithmic Systems, Opportunity, and Civil Rights, 2nd edn. CreateSpace Independent Publishing Platform (2016)

    Google Scholar 

  7. Hsieh, C.C., Pugh, M.D.: Poverty, income inequality, and violent crime: a meta-analysis of recent aggregate data studies. Crim. Justice Rev. 18(2), 182–202 (1993)

    CrossRef  Google Scholar 

  8. Nakaya, T., Yano, K.: Visualising crime clusters in a space-time cube: an exploratory data-analysis approach using space-time kernel density estimation and scan statistics. Trans. GIS 14(3), 223–239 (2010)

    CrossRef  Google Scholar 

  9. Nath, S.V.: Crime pattern detection using data mining. In: Proceedings of the 2006 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology, WI-IATW 2006, Washington, DC, USA, pp. 41–44. IEEE Computer Society (2006).

  10. Pedreschi, D., Ruggieri, S., Turini, F.: Measuring discrimination in socially-sensitive decision records. In: Proceedings of the SIAM International Conference on Data Mining, SDM 2009, Sparks, Nevada, USA, 30 April–2 May 2009, pp. 581–592 (2009)

    Google Scholar 

  11. Ratcliffe, J.: The hotspot matrix: a framework for the spatio-temporal targeting of crime reduction. Police Pract. Res. 5(1), 5–23 (2004)

    CrossRef  Google Scholar 

  12. Wang, H., Kifer, D., Graif, C., Li, Z.: Crime rate inference with big data. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016, pp. 635–644 (2016).

  13. Wang, T., Rudin, C., Wagner, D., Sevieri, R.: Learning to detect patterns of crime. In: Blockeel, H., Kersting, K., Nijssen, S., Železný, F. (eds.) ECML PKDD 2013, Part III. LNCS (LNAI), vol. 8190, pp. 515–530. Springer, Heidelberg (2013).

    CrossRef  Google Scholar 

Download references


The authors would like to thank NSERC, NS Health Authority and Injury Free Nova Scotia for financial and other supports.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Fateha Khanam Bappee .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Verify currency and authenticity via CrossMark

Cite this paper

Bappee, F.K., Soares Júnior, A., Matwin, S. (2018). Predicting Crime Using Spatial Features. In: Bagheri, E., Cheung, J. (eds) Advances in Artificial Intelligence. Canadian AI 2018. Lecture Notes in Computer Science(), vol 10832. Springer, Cham.

Download citation

  • DOI:

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-89655-7

  • Online ISBN: 978-3-319-89656-4

  • eBook Packages: Computer ScienceComputer Science (R0)