- Running K-Means Clustering to determine the clusters of assault reports in the recent time
- Determine safest routes using Harvestine path
- Using Google Maps API
- Add API keys under
./env
:
GOOGLE_API_KEY=<YOUR_API_KEY>
- Install poetry:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
# install dependencies
poetry install
- Startup flask server:
python ./app.py
- Build Docker images
docker build -t aarnphm/htn2021:latest
- Run Docker images
docker run -i -t -v $(pwd):/htn aarnphm/htn2021:latest