Predicting products to be sold in a store - problem formulation

0

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.

user_007

Posted 2020-08-04T15:10:27.870

Reputation: 198

you can use MLforecast package. https://github.com/Akai01/MLforecast

– Econ_matrix – 2020-08-05T06:46:15.700

@Econ_matrix not clear what is this, and there is no resources for it. – user_007 – 2020-08-12T17:15:43.757

Answers

0

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.

Praise Ekeopara

Posted 2020-08-04T15:10:27.870

Reputation: 1

Sorry you answer is not clear. What do you mean by: 1) rename thoese types and use a classifier? 2) the product sold will serve as your target variable? , 3) other closely correlated variables will now serve as your predicting variables? Could u plz clarify these points? – user_007 – 2020-08-12T17:14:28.957