This repository contains the workflow for producing a geodemographic classification in Python using k-means clustering. It follows a simplified process, similar to that described in the 2021 OAC Paper.
- Main notebook:
1_geodemographic_example.ipynb
- Requirements: Dependencies are listed in
requirements.txt
- Example data:
example_oacdata.csv
The dependencies can be installed from inside the notebook.
Alternatively;
Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows, use `.venv\Scripts\activate`
pip install -r requirements.txt