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

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!