recommenders-team/recommenders

[ASK] Getting recommendation with xDeepFM

Open

#1,728 opened on May 31, 2022

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Python (2,972 forks)batch import
help wanted

Repository metrics

Stars
 (17,706 stars)
PR merge metrics
 (Avg merge 6d 16h) (10 merged PRs in 30d)

Description

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 ?

Contributor guide