RecTools icon indicating copy to clipboard operation
RecTools copied to clipboard

Fixed bug with MAP calculation

Open feldlime opened this issue 3 years ago • 1 comments

There was a bug with calculating MAP metric in case when some duplicated interactions present in the test data. This Pull request fixes it.

feldlime avatar Aug 28 '22 06:08 feldlime

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.

codecov[bot] avatar Aug 28 '22 06:08 codecov[bot]