recommenders icon indicating copy to clipboard operation
recommenders copied to clipboard

[ASK] Getting recommendation with xDeepFM

Open AntoineBachelet opened this issue 2 years ago • 7 comments

Description

I am actually using xDeepFM to find recommendation with implicit feedbacks and I did not find examples on how to find top-k recommendation with the model. I tried to use the function model.predict() with a file containing all the possible interactions between my users and items to find a score for each pair and sorting these scores to find top-k recommendation. This method gives me the same recommendation for every user so I would want to know if my method is wrong and what would you suggest to find top-k recommendation ?

AntoineBachelet avatar May 31 '22 08:05 AntoineBachelet

@Leavingseason may have some ideas about this.

yueguoguo avatar Jul 20 '22 07:07 yueguoguo

Any updates on this?

ghost avatar Jan 18 '23 14:01 ghost

Description

I am actually using xDeepFM to find recommendation with implicit feedbacks and I did not find examples on how to find top-k recommendation with the model. I tried to use the function model.predict() with a file containing all the possible interactions between my users and items to find a score for each pair and sorting these scores to find top-k recommendation. This method gives me the same recommendation for every user so I would want to know if my method is wrong and what would you suggest to find top-k recommendation ?

Did you find a way to do top-k recommendation with it?

ghost avatar Jan 19 '23 10:01 ghost

I worked on it during my internship, so I am not working on it anymore. But as far as I remember I used this technique (predict on every pair of user/item and sort to have top-k score) and acted on the different parameters of the model to have better results on my recommendations

AntoineBachelet avatar Jan 19 '23 11:01 AntoineBachelet

Didnt you too get always the same recommendation for every user? (as you described in your post)

ghost avatar Jan 19 '23 12:01 ghost

No, it seems that is was related with the parameter of the model trained (my model was underfitting) and the quality of the data I had (which was difficult to improve)

AntoineBachelet avatar Jan 19 '23 12:01 AntoineBachelet

ok then i have to check my data. thanks for your help

ghost avatar Jan 19 '23 12:01 ghost