Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in mean_difference message #155

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

kcha
Copy link

@kcha kcha commented Mar 5, 2020

This PR swaps the privileged and unprivileged terms in the messaging of MetricTextExplainer.mean_difference().

If I understand correctly, the calculation for mean_difference() is unprivileged instances - privileged instances as seen here: https://github.com/IBM/AIF360/blob/9304749698a50ff3c2118619c627e49df626ecf3/aif360/metrics/dataset_metric.py#L77

@hoffmansc
Copy link
Collaborator

Good catch!

@hoffmansc hoffmansc merged commit 34936a8 into Trusted-AI:master Mar 5, 2020
@kcha kcha deleted the mean-difference-typo-fix branch March 5, 2020 20:57
Illia-Kryvoviaz pushed a commit to Illia-Kryvoviaz/AIF360 that referenced this pull request Jun 7, 2023
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.

2 participants