1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to Predictive Analytics in Python

Connected

अभ्यास

A perfect model

In this exercise you will reconstruct the lift curve of a perfect model. To do so, you need to construct perfect predictions.

Recall that the plot_lift_curve method requires two values for the predictions argument: the first argument for the target to be 0 and the second one for the target to be 1.

निर्देश

100 XP
  • Construct a list that has perfect predictions.
  • The true values of the target are in targets_test. Plot the lift curve using the perfect predictions.