https://github.com/AriqF1/prediction_criminal
This repository contains the code and documentation for a crime data analysis project using a criminal dataset from San Francisco.
https://github.com/AriqF1/prediction_criminal
analytics heatmap-visualization jupyter-notebook python
Last synced: 4 months ago
JSON representation
This repository contains the code and documentation for a crime data analysis project using a criminal dataset from San Francisco.
- Host: GitHub
- URL: https://github.com/AriqF1/prediction_criminal
- Owner: AriqF1
- License: mit
- Created: 2025-06-01T04:31:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-15T06:18:50.000Z (4 months ago)
- Last Synced: 2025-06-15T06:29:16.224Z (4 months ago)
- Topics: analytics, heatmap-visualization, jupyter-notebook, python
- Language: Jupyter Notebook
- Homepage:
- Size: 27.9 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crime Prediction (Python)
A crime data analysis project using Python and Jupyter Notebook to visualize **high-crime hours** and **geographical crime density** with interactive heatmaps.
- Dataset: San Francisco Crime Data (884K+ rows)
- Time and location-based heatmap visualization
- Structured preprocessing pipeline
- Data exploration with Pandas & Jupyter Notebook[](https://github.com/AriqF1/heatmap_criminal)
[](https://opensource.org/licenses/MIT)
[](https://www.python.org/)## Features
- Preprocessing of crime data from Kaggle
- Duplicate detection and cleaning for large datasets
- Crime frequency analysis by hour and district
- Professional and modular folder structure## Requirements
- Python 3.10+
- ipynb extension
- Pandas, NumPy, Seaborn, Matplotlib, Jupyter, Folium## Getting Started
Clone The Repository
```bash
git clone https://github.com/AriqF1/prediction_criminal.git
cd prediction_criminal
```## Folder Structure
```bash
heatmap_criminal/
├── data/
│ ├── 01_raw/ # Raw data from Kaggle
│ ├── 02_interim/ # Cleaned data
│ └── 03_processed/ # Analysis-ready data
├── notebooks/ # Jupyter Notebooks for EDA & visualization
├── scripts/ # Python scripts for data pipeline
├── visualization/ # Generated heatmaps and charts
├── reports/ # Final analysis, charts, and documentation
├── LICENSE
├── README.md
└── requirements.txt
```