This repository has all the code and report for my Udacity Data Scientist Nanodegree Capstone project.
This data set contains simulated data that mimics customer behavior on the Starbucks rewards mobile app. Once every few days, Starbucks sends out an offer to users of the mobile app. An offer can be merely an advertisement for a drink or an actual offer such as a discount or BOGO (buy one get one free). Some users might not receive any offer during certain weeks. Not all users receive the same offer, and that was the challenge to solve with this data set. Our task is to combine transaction, demographic and offer data to determine which demographic groups respond best to which offer type. This data set is a simplified version of the real Starbucks app because the underlying simulator only has one product whereas Starbucks actually sells dozens of products.
Predicting the purchase offer to which a possible higher level of response or user actions like ‘offer received’, ‘offer viewed’, ‘transaction’ and ‘offer completed’ can be achieved based on the demographic attributes of the customer and other attributes of the companies purchase offers.
This project was written in Python, using Jupyter Notebook on Anaconda. The relevant Python packages for this project are as follows:
- pandas
- numpy
- math
- json
- matplotlib
- seaborn
- sklearn.model_selection (train_test_split module)
- sklearn.preprocessing (StandardScaler )
- tensorflow
- keras
This repo contains 4 files.
Starbucks_Capstone_notebook.ipynb
: the code notebook .Capstone-Project-Report.pdf
: my project report .Data
:-
- Profile.json
-
- Portfolio.json
-
- transcript.json : kaggle (https://www.kaggle.com/blacktile/starbucks-app-customer-reward-program-data) , I can't upload this file here because it's size exceed the git-hub condition (25mb).
-
Data for coding project was provided by Udacity.