removing_disparate_​impact_example

Example of how to remove disparate impact in data
11 Downloads
Updated 5 Jun 2019

View License

Removing disparate impact

Disparate impact is when one group of people is affected in a negative way (discriminated against) compared to another group, even if the rules are neutral, i.e. not using some protected attribute in the decision process. The protected attribute can for instance be race, sex, or age to take a few examples.

Removing disparate impact can be done by changing feature values in a certain way so that the distributions, when filtered with the protected attribute, become insensitive to the protected attribute. Remember that the same transform has to be applied to every data point in production and that the transform will be dependent on the protected attribute.

Cite As

Urban Eriksson (2024). removing_disparate_impact_example (https://www.mathworks.com/matlabcentral/fileexchange/71763-removing_disparate_impact_example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0