Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据预处理问题 #99

Open
liguogongdegou opened this issue Apr 15, 2022 · 3 comments
Open

数据预处理问题 #99

liguogongdegou opened this issue Apr 15, 2022 · 3 comments
Assignees

Comments

@liguogongdegou
Copy link

请问一下您们在序列推荐这个任务下对一些模型的数据预处理工作是什么样的呢,比如一个会话序列是[1,2,3,4],请问您对其的处理过程是仅使用[1,2,3]预测4,还是使用[1,2,3]预测4,使用[1,2]预测3,使用[1]预测2呢,谢谢

@hyp1231 hyp1231 self-assigned this Apr 15, 2022
@hyp1231
Copy link
Member

hyp1231 commented Apr 15, 2022

您好,是后一种,即“使用[1,2,3]预测4,使用[1,2]预测3,使用[1]预测2”。

代码可以参考
https://github.com/RUCAIBox/RecBole/blob/896155c56fb2f426554d1179dae85dc0a8f4a38e/recbole/data/dataset/sequential_dataset.py#L73-L89

@liguogongdegou
Copy link
Author

好的,非常感谢解答。

@zyx1017
Copy link

zyx1017 commented May 28, 2023

@hyp1231 如果想要关闭这种数据增强该如何操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants