AstraZeneca / rexmex

A general purpose recommender metrics library for fair evaluation.
https://rexmex.readthedocs.io/
278 stars 25 forks source link

Add binarize annotation #36

Closed cthoyt closed 2 years ago

cthoyt commented 2 years ago

Summary

Similarly to #35, this PR adds an additional annotation for functions that need to be binarized.

Changes

Future outlook

This improvement will enable the later implementation of automated collection and processing of metric functions to improve the rexmex.metricset.ClassificationMetricSet class.

codecov-commenter commented 2 years ago

Codecov Report

Merging #36 (333260c) into main (f53f77f) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          16       16           
  Lines         874      878    +4     
=======================================
+ Hits          872      876    +4     
  Misses          2        2           
Impacted Files Coverage Δ
rexmex/metrics/classification.py 100.00% <ø> (ø)
rexmex/utils.py 100.00% <100.00%> (ø)
tests/unit/test_metrics.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f53f77f...333260c. Read the comment docs.

benedekrozemberczki commented 2 years ago

This is awesome.