Skip to content

End to end Data Science project about customers-offers at Starbucks.

Notifications You must be signed in to change notification settings

jordilucas16/starbucks_capstone_project

Repository files navigation

Starbucks capstone project

alt text

Starbucks capstone project belongs to Udacity Data Science Nanodegree program.

Motivation

The main motivation for the development of this project is to provide a consistent and valid model that allows the creation of interest offers for the clients of any company, in this case starbucks.

Resources

The project has the following different resources in file form:

The analysis, cleaning, data exploration and construction of models based on the dataset created as a result of the previous steps is divided into two files that should be executed in the following order:

Jupyter Notebooks

Starbucks_Capstone_notebook1.ipynb

Starbucks_Capstone_Challenge_Building models.ipynb

Datasets

On the other hand, the initial datasets used for this project are the following:

data/portfolio.json: containing offer ids and meta data about each offer (duration, type, etc.)

data/transcript.json: records for transactions, offers received, offers viewed, and offers completed

data/profile.json: demographic data for each customer

As a result of the data wranglig and feature engineering operations, two new datasets are created:

data/portfolio_cleaned.csv: processed information related to initial portfolio dataset

data/combined_data.json: dataset prepared and built in the first notebook with the objective of building the classification models

Libraries

Summary analysis

To find the best possible model, three different supervised classification algorithms have been used:

  • Logistic Regression
  • Gradient Boosting
  • Random Forest

Metrics outcome:

Log. Regression Gradient Boosting Random Forest
accuracy 0.698 0.726 0.734
f1score 0.694 0.725 0.729
precission 0.667 0.691 0.707
recall 0.725 0.763 0.749

Acknowledgements

These are the main resources, including websites, books or papers that have helped me to find solutions and develop this project.

You can find more information by reading my technical article on The Startup at Medium.

About

End to end Data Science project about customers-offers at Starbucks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published