trectools icon indicating copy to clipboard operation
trectools copied to clipboard

Create a first implementation for Recall@k

Open mam10eks opened this issue 1 year ago • 1 comments

Dear all, as mentioned in the issues https://github.com/joaopalotti/trectools/issues/17 and https://github.com/joaopalotti/trectools/issues/40, there is currently no implementation of Recall@k. This pull request creates a first implementation (not very efficient, as I used iterrows to keep it simple, but we could later improve upon that :)).

I mostly copied the code from other methods.

Best regards, Maik

mam10eks avatar Dec 05 '24 07:12 mam10eks

It looks good from my side. LGTM?

hscells avatar Dec 06 '24 09:12 hscells