RecTools
RecTools copied to clipboard
Fixed bug with MAP calculation
There was a bug with calculating MAP metric in case when some duplicated interactions present in the test data. This Pull request fixes it.
Codecov Report
Merging #19 (f4a54f9) into main (7565749) will not change coverage. The diff coverage is
100.00%.
@@ Coverage Diff @@
## main #19 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 40 40
Lines 2021 2022 +1
=========================================
+ Hits 2021 2022 +1
| Impacted Files | Coverage Δ | |
|---|---|---|
| rectools/metrics/ranking.py | 100.00% <100.00%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.