AIF360
AIF360 copied to clipboard
A comprehensive set of fairness metrics for datasets and machine learning models, explanations for these metrics, and algorithms to mitigate bias in datasets and models.
Example jupyter notebook for sklearn (https://github.com/Trusted-AI/AIF360/blob/main/examples/sklearn/demo_new_features.ipynb) throws an error during compilation because of an outdated usage of the OneHotEncoder usage. The fix needed is for parameter to be updated from...
The average-odds metric defined [here](https://aif360.readthedocs.io/en/stable/modules/generated/aif360.metrics.ClassificationMetric.html#aif360.metrics.ClassificationMetric.average_odds_difference) is listed as "A value of 0 indicates equality of odds." This doesn't seem to be true, as any pair of points on the following...
### Bias Mitigation Automation Workflow to IBM AIF 360 **Description:** This pull request adds a new feature to IBM AIF 360 by incorporating automation capabilities in notebook execution.I've created a...
`disparate_impact_remover.py` only implements one method, `fit_transform`. But [the documentation](https://aif360.readthedocs.io/en/latest/modules/generated/aif360.algorithms.preprocessing.DisparateImpactRemover.html) indicates that `fit`, `fit_predict`, `predict`, and `transform` should also be methods for this class. The class inherits these methods from the...
@hoffmansc Wrote fixes for the bugs documented in issues #531 and #532. For the issue of the hard-coded features in the `recIsValid` function (issue #531, code [here](https://github.com/Trusted-AI/AIF360/blob/7c4f172f4a81b1d14d19400e95c468aaf3134952/aif360/sklearn/detectors/facts/predicate.py#L198)), the fix currently...
Inside the `fit` method of the `FACTS` detector, the function `calc_costs` is called to calculate the costs of the recourses. But the `params` argument (which includes the `feature_weights`) is not...
In the internal `valid_ifthens` function, there are 2 points where there exist hard-coded feature names in the code, and these parts of the code fail without them. Specifically: 1. [here](https://github.com/Trusted-AI/AIF360/blob/7c4f172f4a81b1d14d19400e95c468aaf3134952/aif360/sklearn/detectors/facts/misc.py#L285),...
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. Release notes Sourced from jinja2's releases. 3.1.4 This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise...
Hello, I'm from the MAMMOth project that works on multi-attribute multi-modal bias mitigation. In the course of that project we are developing _FairBench_: a library that presents building blocks that...
Hello team, Thanks for your amazing work. I am using [demo_optim_data_preproc.ipynb](https://github.com/Trusted-AI/AIF360/blob/main/examples/demo_optim_data_preproc.ipynb). I need to use my datasets. I am using pandas df to read data. Pandas df is not working...