Hair Care Product—Uplift Modeling This problem uses the data set in Hair-CareProduct.csv, courtesy of SAS. In this hypothetical case, a promotion for a hair care product was sent to some members of a buyers club. Purchases were then recorded for both the members who got the promotion and those who did not.
a. What is the purchase propensity
i. among those who received the promotion?
ii. among those who did not receive the promotion?
b. Partition the data into training (60%) and validation (40%) and fit:
i. Uplift using a Random Forest.
ii. Uplift using k-NN.
c. Report the two
please finish question with python or R