Skip to content

DSND Term 2 Portfolio Exercise: Optimize promotion offers for Starbucks

Notifications You must be signed in to change notification settings

andypwyu/optimize_promotion_offers_for_Starbucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

optimize_promotion_offers_for_Starbucks

DSND Term 2 Portfolio Exercise: Optimize promotion offers for Starbucks

Table of Contents

  1. Installation
  2. Project Motivation
  3. File Descriptions
  4. Acknowledgements
  5. Result

Installation

The code should run with no issues using Python versions 3.*. If you use Anaconda, please make sure install below libraries:

  1. imblearn.over_sampling
  2. xgboost
  3. seaborn

Project Motivation

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

  1. Incremental Response Rate (IRR)
  2. Net Incremental Revenue (NIR)

File Descriptions

  1. Starbucks.ipynb - Uplift Modeling
  2. test_results.py - Strategy performance evaluation

Acknowledgements

Credit to Starbucks and Udacity for the data.

Result

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.

About

DSND Term 2 Portfolio Exercise: Optimize promotion offers for Starbucks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published