Skip to content

ENH: Add Reweighing preprocessing technique (#5) - #26

Open
Chirag-agg wants to merge 1 commit into
usarfoss:mainfrom
Chirag-agg:feature/reweighing
Open

ENH: Add Reweighing preprocessing technique (#5)#26
Chirag-agg wants to merge 1 commit into
usarfoss:mainfrom
Chirag-agg:feature/reweighing

Conversation

@Chirag-agg

@Chirag-agg Chirag-agg commented Oct 15, 2025

Copy link
Copy Markdown

Description #5

This PR adds the Reweighing preprocessing technique to mitigate bias with respect to sensitive features.

  • fairlearn/preprocessing/reweighing.py implements the transformer.
  • test/unit/preprocessing/test_reweighing.py includes a basic unit test to ensure sample weights are positive and correctly sized.

Related issue: Closes #5.


Tests

  • no new tests required
  • new tests added
  • existing tests adjusted

Documentation

  • no documentation changes needed
  • user guide added or updated (docstring included in the class)
  • API docs added or updated
  • example notebook added or updated

Screenshots

N/A — this PR does not include visualizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH Add "Reweighing"

1 participant