Closed ys201810 closed 2 years ago
@ys201810 Hello, thanks for your attention to RecBole! There is no fixed way to handle cold-start situation in RecBole. There are simple ways to deal with it such as embedding the features of new users, and then measure the similarity through vector distance to find the closest user and and replace new user with it. You adopted a similar idea here, and I don't think there is any problem with your code.
For the problem of abnormal results, I preliminarily speculate that it may be because the tokens you use is relatively short or you do not use the user's actual item interaction sequence to embed user. You can try to modify with actual item interaction sequence or use other embedding methods to embed user here. Or you can use the method I mentioned above to find the closest user. I hope my suggestions are helpful to you!
@Wicknight Thanks for quick and polite answer!
The idea of finding similar users from training users and getting predicted results is very helpful.
Sorry, I found that to mistake convert from field_id to real_id. Fix it then, I got appropriate results.
Thank you so much for your suport.
Again, thanks a lots for the great project and support.
Hi! Thank you so much for your wonderful project.
I'm trying to make a predict code for new user using sequential model. "New user" means that they didn't appear during training.
At first, I thought it would be nice to use the full_sort_topk function from Docs and issues. But full_sort_topk need uid_series and test_data. And new user doesn't have both of them.
So I made below's code, but result is strange. Probably something is wrong with my code.
So, do you have a predict code for new user? Or please point out what is wrong in my code.
Thanks