Personalizing Discounts you own this product

basics of Python • basics of data science
skills learned
implement causal models for personalization • evaluate the performance of your causal model using experimental data
Matheus Facure
1 week · 6-8 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Look inside

In this liveProject, you’ll use causal inference to investigate data on randomized discounts and determine if an e-commerce company should offer personalized discounting. You’ll estimate a different treatment effect for each customer in the hopes to see if some are positive, and figure out which customers should get what discounts. You’ll utilize Python and machine learning to build this personalization system, and implement a causal model for personalization.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

project author

Matheus Facure
Matheus Facure is an economist, data scientist and causal inference specialist at Nubank. He currently works with adding causal inference capabilities to machine learning models with application in the credit card business, and acts as a consultant for other business areas inside Nubank, such as personal loans and marketing.


This liveProject is for data scientists with knowledge of Python, machine learning, and statistics. To begin this liveProject you will need to be familiar with the following:

  • Basics of Python
  • Basics of pandas
  • Basics of Matplotlib
  • Basics of NumPy
  • Basics of data science and machine learning
  • Basics of causal inference


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan


only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Personalizing Discounts project for free