Open ajster1 opened 2 years ago
Yeah this is needed. I created a fake model which return top k so you don't need to change the evaluation function.
Surprisingly @benfred the popularity wins all collaborative filtering I have tried here.
I think it's a good idea.
I think it might be considered a new kind of recommender like PopularityBasedRecommender
, and use it as other usual recommender instances here, and evaluate with ranking_metrics_at_k
(prevents reinventing the wheel)
For now, you can do similarly with this (with your own popularity recommender and wrapper) https://github.com/benfred/implicit/issues/158#issuecomment-434517410
It would be nice to have a popularity evaluation function to use as a baseline. I created one by modifying the ranking_metrics_at_k function by plugging in the K most popular. I'm not sure if this is accurate or even valid. Can somebody comment? It would really be amazing to have something like this in the library.