Black friday solution

machine_learning

#1

Hi Experts,

I was going through the black Friday solution and found difficult to understand the below

Why are we removing these categories 19 and 20 in black Friday solution?

X_train <- subset(train, !Product_Category_1 %in% c(19,20))
X_test <- test

converting age variable to numeric

On what base are we converting these vaiables

Please help me in understanding the above.

Regards,
Tony


#2

Which solution are you looking at?


#3

Hi shubham,

Problem

The challenge was to predict the purchase amount of various products by users across categories given historic data of purchase amounts.

Thanks,
Tony