Predicting products to be sold in a store - problem formulation I have a data from a store for the products that sold since more than 5 years. Each sell process has a customer id, date, and the quantity of the product.
I want to build a machine learning model to predict the products that will be sold in the next day/s for each of the customers, giving that I have N products (~2k) and M customers (~50).
I am not able to formulate this problem. It's a regression task (probably), but I don't know how can I formulate it to predict the products that a given customer will buy.
Since we have N products, this doesn't mean that a customer will buy all of them; x customer might buy only 5 products in the next day.
To answer your question, in that dataset the first thing to do is to determine the types of products in that product sold column or whatever. If you have like 3 or more different kinds of products to be sold. Then you can rename those types and use a classifier algorithm to make your prediction. So the product sold will serve as your target variable and other closely correlated variables will now serve as your predicting variables.
So to add to the above, you want to predict the number of products to be purchased by a customer, then I suggest you look out for good multi-target regression models.