Awesome Open Source
Awesome Open Source

Association Rule Mining from
Spatial Data for Crime Analysis


The aim of this project is to examine data regarding the spatial distribution of crimes committed within a year in the city of Charlotte - NC, in the United States of America. There are data collected from about 60,000 crimes, as well as district census data and information on commercial business activities.

Therefore, we intend to apply algorithms for the discovery of Association Rules between variables, so look for associations between the available information. The Knowledge Discovery process is applied and filters are applied to rules to select only rules with the type of crime in the consequent, because these were those more relevant as they showed where, at the occurrence of the conditions present in the antecedent of the rule, the various types of crime are more likely to manifest.

Alcoholic Drinking Places Crimes


I suggest to setup a virtual environment using miniconda

  1. Create an environment with python 2.7:

    conda create --name crime_env python=2.7
  2. Switch to that environment:

    source activate crime_env
  3. Install requirements:

    pip install -r ./requirements.txt
  4. Check the examples:


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (807,801
Jupyter (154,475
Jupyter Notebook (154,475
Data Science (10,160
Mining (6,775
Pandas (6,621
Discovery (4,993
Spatial Analysis (4,083
Spatial (4,083
Anaconda (4,053
Matplotlib (4,037
Scikit Learn (2,354
Shapefile (859
Gensim (744
Spatial Data (449
Doc2vec (95
Crime (65
Association Rules (57
Crime Data (40
Kdd (33
Crime Analysis (31
Sequence Mining (6
Sentence Clustering (4