DSND Term 2 Portfolio Exercise: Optimize promotion offers for Starbucks
The code should run with no issues using Python versions 3.*. If you use Anaconda, please make sure install below libraries:
- imblearn.over_sampling
- xgboost
- seaborn
This portfolio exercise was originally used as a take-home assignment provided by Starbucks for their job candidates. This exercise is to leverage Uplift Model to optimize promotion strategy, considering whether customers purchase a specific product priced at $10 and it costs the company 0.15 to send out each promotion. Ideally, we aim to limit the offers to those receptive to the promotion.
Our promotion strategy will be evaluated on 2 key metrics
- Incremental Response Rate (IRR)
- Net Incremental Revenue (NIR)
- Starbucks.ipynb - Uplift Modeling
- test_results.py - Strategy performance evaluation
Credit to Starbucks and Udacity for the data.
Model performance:
- IRR = 0.0205
- NIR = 216.75
The performance is better than the Starbucks baseline model with an IRR of 0.0188 and a NIR of 189.45 on the test set.