#411·Surprise

Algorithms don't return more than a certain number of recommendations per user

Author: abdollahpouriCreated May 6, 2022Updated Feb 7, 2023

I was trying to get a recommendation of size 100 per user for MovieLens 1M dataset but the algorithm(I tried SVD but I'm sure it is the same for others too) does not recommend that many items for all users (for some users only recommend 10 or maybe a bit more).

Is there any way we can set how many recommendations we want regardless of whether they have high predictions or not? For example for each uid, return 100 iid and their scores even if the scores are low it id fine. We need this capability since many re-ranker algorithms (diversity, calibration etc. ) need a large list generated by a standard algorithm (100 or larger) to build the final list, and right now this is not possible to do on Surprise.