Trusted-AI / AIF360

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.
https://aif360.res.ibm.com/
Apache License 2.0
2.46k stars 840 forks source link

Demo notebook needs update #529

Open Shidhanta95 opened 6 months ago

Shidhanta95 commented 6 months ago

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 sparse to sparse_output.

Shidhanta95 commented 6 months ago

If allowed to, I can make the necessary changes and make a pull request as well. Just wanted to document the issue.