1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Predictive Analytics in Python

Connected

Exercise

Calculating aggregated variables with timegap

Assume you want to construct a predictive model to predict which donors will make a donation of at least 10 Euro during the next month. The timeline is given below, there is a timegap of one month. In this exercise, you will learn how to add a variable "mean_donation_last_month" to the basetable.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Fill out the start (April 1st 2018) and end date (May 1st 2018) of the period on which the predictive variable "mean_donation_last_month" is calculated.