lyst / lightfm

A Python implementation of LightFM, a hybrid recommendation algorithm.
Apache License 2.0
4.78k stars 694 forks source link

Recall @ K #607

Open kfcislif3 opened 3 years ago

kfcislif3 commented 3 years ago

Thanks for this library. I notice that recall @ K doesn't seem to be available as one of the evaluation metrics in the latest version. Is it possible to include this?

A version of the recall @ k seems to be included here in an old commit https://github.com/thisisjl/implicit/blob/master/implicit/evaluation.pyx

Thanks!

zhenliu2012 commented 3 years ago

I think there is a recall at k evaluation: https://making.lyst.com/lightfm/docs/lightfm.evaluation.html#lightfm.evaluation.recall_at_k , the link you shared seems to be the implicit package.