Skip to content

added a pre proccessing algorithm - #28

Closed
Kaus-code wants to merge 1 commit into
usarfoss:mainfrom
Kaus-code:prep_algo
Closed

added a pre proccessing algorithm#28
Kaus-code wants to merge 1 commit into
usarfoss:mainfrom
Kaus-code:prep_algo

Conversation

@Kaus-code

Copy link
Copy Markdown

fix #8

Description

This PR introduces the Learning Fair Representations (LFR) preprocessing algorithm by Zemel et al. (2013) to FairLearn. The algorithm promotes demographic parity by learning latent prototypes that balance reconstruction, prediction, and fairness objectives.

Key additions:

  • Implementation of LFR in fairlearn.preprocessing
  • Unit tests for LFR in test.unit.preprocessing
  • API documentation with numpydoc-style docstrings
  • Short user guide entry in docs/user_guide/mitigation.rst

Reference: https://proceedings.mlr.press/v28/zemel13.pdf

Related issues: #8, #14
Tagging for review: @fairlearn/fairlearn-maintainers @Manu-2717

Tests

  • new tests added
  • existing tests adjusted

Documentation

  • user guide added or updated
  • API docs added or updated
  • example notebook added or updated

Screens

@Kaus-code Kaus-code closed this by deleting the head repository Nov 15, 2025
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 pre-processing algorithm "Learning Fair Representations" by Zemel et al.

1 participant