lyst / lightfm

A Python implementation of LightFM, a hybrid recommendation algorithm.
Apache License 2.0
4.67k stars 679 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 2 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.