Course-style assignment: binary classification of whether a customer purchases insurance after a quote (issued in the HBS Telepass case data). Three models are compared: logistic regression, decision tree, and random forest, with grouped cross-validation by client_id.
- Python 3.10+ (3.11+ recommended)
Telepass.xlsxin this folder (case supplementary data; not committed to public repos if your school restricts it)
cd "Product analysis" # or the full path to this project
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python telepass_insurance_models.py
Author
Rea Silaj - Product Analysis 2026