Giter Club home page Giter Club logo

offer_analysis_starbucks_data's Introduction

Analysis of Starbucks Buy One Get One Offer


The Dataset used:

  • The program used to create the data simulates how people make purchasing decisions and how those decisions are influenced by promotional offers.
  • Each person in the simulation has some hidden traits that influence their purchasing patterns and are associated with their observable traits. People produce various events, including receiving offers, opening offers, and making purchases.
  • As a simplification, there are no explicit products to track. Only the amounts of each transaction or offer are recorded.
  • There are three types of offers that can be sent: buy-one-get-one (BOGO), discount, and informational. In a BOGO offer, a user needs to spend a certain amount to get a reward equal to that threshold amount. In a discount, a user gains a reward equal to a fraction of the amount spent. In an informational offer, there is no reward, but neither is there a requisite amount that the user is expected to spend. Offers can be delivered via multiple channels.
  • The basic task is to use the data to identify which groups of people are most responsive to each type of offer, and how best to present each type of offer.

Data Details

profile.json

Rewards program users (17000 users x 5 fields)

  • gender: (categorical) M, F, O, or null
  • age: (numeric) missing value encoded as 118
  • id: (string/hash)
  • became_member_on: (date) format YYYYMMDD
  • income: (numeric)

portfolio.json

Offers sent during 30-day test period (10 offers x 6 fields)

  • reward: (numeric) money awarded for the amount spent
  • channels: (list) web, email, mobile, social
  • difficulty: (numeric) money required to be spent to receive reward
  • duration: (numeric) time for offer to be open, in days
  • offer_type: (string) bogo, discount, informational
  • id: (string/hash)

transcript.json

Event log (306648 events x 4 fields)

  • person: (string/hash)
  • event: (string) offer received, offer viewed, transaction, offer completed
  • value: (dictionary) different values depending on event type
    • offer id: (string/hash) not associated with any "transaction"
    • amount: (numeric) money spent in "transaction"
    • reward: (numeric) money gained from "offer completed"
  • time: (numeric) hours after start of test

Files

.
├── Starbucks_Capstone_notebook.html----------# HTML EXPORT OF JUPYTER NOTEBOOK
├── Starbucks_Capstone_notebook.ipynb---------# ANALYSIS NOTEBOOK
├── data
│   ├──transcript.json--------------------#INFORMATION ABOUT TRANSCRIPTS
    ├──portfolio.json---------------------#INFORMATION ABOUT PORTFOLIOS
│   └──profile.json-----------------------#INFORMATION ABOUT PROFILES
├── project_tests.py-----------------------# UNIT TESTS FOR PROJECT
├── picA.png-------------------------------# Figure from Udacity Template
├── picB.png-------------------------------# Figure from Udacity Template
└── reqs-----------------------------------# Requirements Folder
    ├── Starbucks_Capstone_notebook.py------#Python File genereated from Notebook
    └── requirements.txt-------------------# Libraries used

Software and Libraries

This is project uses Python 3.8.1 and the necessary libraries are mentioned in [requirements file] in the reqs folder

offer_analysis_starbucks_data's People

Contributors

roopcm avatar indmitds avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.