1 year ago

#354367

test-img

Masih mir

How to predict a Series sequence in a Pandas Data Frame

I have a data that has three columns : user id, product id and date of purchase. I need to predict the next purchase date for User-Product pair. DataSet How can I make the prediction for this data frame? I'm novice in machine learning and need your help for doing this. Thanks.

DataFrame

I have calculated the intermediate days for each product-user pair, and I want to calculate the next date by predicting the next number in each sequence, which is the days between each purchase. I split the "number days between" to `days test' and 'target' for training the model.

python

prediction

0 Answers

Your Answer

Accepted video resources