GithubHelp home page GithubHelp logo

evertonbin / starbucks-promotion-optimization Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.61 MB

This project develops a solution for optimizing a Starbucks' promotional event by segmenting clients that are more likely to be responsive to the promotion.

License: MIT License

Jupyter Notebook 99.61% Python 0.39%
data-analysis machine-learning ab-testing starbucks

starbucks-promotion-optimization's Introduction

Starbucks Promotion Optimization

Table of Contents

  1. Installation
  2. Project Motivation
  3. File Descriptions
  4. Results
  5. Licensing, Authors, and Acknowledgements

Installation

All the necessary libraries used in this project are already available in the Anaconda distribution of Python.

This script was written using Python version 3.*.

Project Motivation

When a company wants to release a new product or advertise an old one, there will always be money investment with the expectation that the incomes will overcome its spending.

When testing advertising, for example, one common approach would be to design an A/B test to discover whether it is effective or not. When it comes to a promotional event, what if we could use this A/B test to also understand the client's profile that is most receptive to the promotion?

Not only it could turn the event into more effective action, but it could optimize the profit resulting from the campaign. It is more important if we consider that there's a cost related to each promotional ticket sent.

This project presents one solution to this problem, using a promotional event by Starbucks.

File Descriptions

  1. training.csv: .csv file containing the results of the A/B test along with a few clients' features.
  2. Test.csv: .csv file containing the test data.
  3. test_results.py: it's a script containing the steps for evaluating our solution on test data.
  4. Starbucks-Promotion_Optimization.ipynb: jupyter notebook presenting analysis and different approaches.

Results

In this project, we were able to test different strategies and observe their results, considering the optimization metrics established by Starbucks' team.

Going through data analysis to understand the features, their meaning, and how they related to the problem, it was possible to apply feature engineering techniques and improve Starbucks' base model of optimization by over 10%.

Licensing, Authors, Acknowledgements

Credits must be given to the Starbucks company for providing the data, and to Udacity for proposing this project as a portfolio exercise that shows how important Data Science when optimizing any company's strategies.

starbucks-promotion-optimization's People

Contributors

evertonbin avatar

Stargazers

 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.