An ML model with user interface, to provide probability of certain crime occuring at any given time and date in future.
The user interacts with the spatial map of the area(eg: Raleigh) to analyse the heatmap color coded with the probability of risk.
This enables the user to avoids certains areas at certain points of the day, where their likelihood of becoming victims of a particular type of crime are higher.
web interface:
demo_crime_project.mov
pip install Flask
flask run
๐ค Swathi Dinakaran
@ https://www.linkedin.com/in/swathi-dinakaran/
Thanks to all the people who contribute.
Jeffrey Wang(ideation,data), Pratham Chhabria(ideation), Jeremy Spooner(data)
Contributions, issues and feature requests are welcome. Feel free to check issues page if you want to contribute.
This Spring 2021 AI at NC State project repository cotnains all of the machine learning prototyping code for the Safety Path Generator project. Acquiring tabular de-identified crime data from local college cities in North and South Carolina, cities in North and South Carolina, it seeks to harness the power of applied AI models to provide a heat map at any given time and place where incidences of crime per type are occuring and alert users of those areas, thereby providing with a path to take to avoid certains areas at certain points of the day where their likelihood of becoming victims of a particular type of crime are higher.
โโโ LICENSE
โโโ Makefile <- Makefile with commands like `make data` or `make train`
โโโ README.md <- The top-level README for developers using this project.
โโโ data
โย ย โโโ external <- Data from third party sources.
โย ย โโโ interim <- Intermediate data that has been transformed.
โย ย โโโ processed <- The final, canonical data sets for modeling.
โย ย โโโ raw <- The original, immutable data dump.
โ
โโโ docs <- A default Sphinx project; see sphinx-doc.org for details
โ
โโโ models <- Trained and serialized models, model predictions, or model summaries
โ
โโโ notebooks <- Jupyter notebooks. Naming convention is a number (for ordering),
โ the creator's initials, and a short `-` delimited description, e.g.
โ `1.0-jqp-initial-data-exploration`.
โ
โโโ references <- Data dictionaries, manuals, and all other explanatory materials.
โ
โโโ reports <- Generated analysis as HTML, PDF, LaTeX, etc.
โย ย โโโ figures <- Generated graphics and figures to be used in reporting
โ
โโโ requirements.txt <- The requirements file for reproducing the analysis environment, e.g.
โ generated with `pip freeze > requirements.txt`
โ
โโโ setup.py <- makes project pip installable (pip install -e .) so src can be imported
โโโ src <- Source code for use in this project.
โย ย โโโ __init__.py <- Makes src a Python module
โ โ
โย ย โโโ data <- Scripts to download or generate data
โย ย โย ย โโโ make_dataset.py
โ โ
โย ย โโโ features <- Scripts to turn raw data into features for modeling
โย ย โย ย โโโ build_features.py
โ โ
โย ย โโโ models <- Scripts to train models and then use trained models to make
โ โ โ predictions
โย ย โย ย โโโ predict_model.py
โย ย โย ย โโโ train_model.py
โ โ
โย ย โโโ visualization <- Scripts to create exploratory and results oriented visualizations
โย ย โโโ visualize.py
โ
โโโ tox.ini <- tox file with settings for running tox; see tox.readthedocs.io