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

[💡SUG] 项目是否支持leave-one-out data splitting? #75

Open
WangYuhan-0520 opened this issue Oct 14, 2024 · 0 comments
Open

[💡SUG] 项目是否支持leave-one-out data splitting? #75

WangYuhan-0520 opened this issue Oct 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@WangYuhan-0520
Copy link

WangYuhan-0520 commented Oct 14, 2024

由于一些跨域推荐模型采用的leave-one-out data splitting策略,但是在Recbole-CDR项目中具体执行时,评估设置如下:

eval_args:
  split: { 'LS': 'valid_and_test' }  #leave-one-out data splitting
  group_by: user
  order: RO
  mode: uni999

报错:
python3.7/site-packages/recbole/data/interaction.py",line367,in<dictcomp> new_inter = {col: torch.cat ([inter[col) for inter in interactions]) for col in columns_set} TypeError: expected Tensor as element 0 in argument 0, but got Interaction

@WangYuhan-0520 WangYuhan-0520 added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant