microsoft / responsible-ai-toolbox-mitigations

Python library for implementing Responsible AI mitigations.
https://responsible-ai-toolbox-mitigations.readthedocs.io/en/latest/
MIT License
57 stars 6 forks source link

Support fit_resample in Synthesizer #55

Closed yrajas closed 10 months ago

codecov[bot] commented 11 months ago

Codecov Report

Merging #55 (26c228e) into main (5148f6d) will increase coverage by 0.12%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
+ Coverage   96.13%   96.25%   +0.12%     
==========================================
  Files          49       49              
  Lines        4531     4516      -15     
==========================================
- Hits         4356     4347       -9     
+ Misses        175      169       -6     
Files Coverage Δ
raimitigations/dataprocessing/data_processing.py 98.90% <ø> (-0.08%) :arrow_down:
...imitigations/dataprocessing/sampler/synthesizer.py 96.25% <100.00%> (+3.99%) :arrow_up:

... and 1 file with indirect coverage changes

yrajas commented 10 months ago

Synthesizer now follows fit_resample interface similar to Rebalancer. Also, can now work with CohortManager similarly.