for my supervised classification problem,
I have a train dataset which contains past purchase data of customers and 5 new products are purchased by these customers. I have a test dataset which contains past purchase data of customers. They never bought from these 5 products.
I want to train a predictive model, I need to convert integer purchased data and new products. There are so many different products in my purchased data.
I saw that the mapping was made for true-false to convert 1-0, but in this case what can I do that?