如何预测熊猫数据框中的串联序列
我有一个包含三列的数据:用户 ID、产品 ID 和购买日期。我需要预测用户-产品对的下一个购买日期。 数据集 我如何对该数据框进行预测? 我是机器学习方面的新手,需要您的帮助才能做到这一点。 谢谢。
我已经计算了每个产品-用户对的中间天数,并且我想通过预测下一个日期来计算下一个日期每个序列中的数字,即每次购买之间的天数。 我将“天数”分为“测试天数”和“目标天数”来训练模型。
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.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论