-
Notifications
You must be signed in to change notification settings - Fork 11
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
Incorrect accuracy computation #5
Comments
Hey ktkachuk, |
Hey Moritz, |
I checked again and yeah I think you're right. I guess this computation does only make sense under the assumption that each combination of bias & target attribute is equally likely to appear and estimating the accuracy of each combination separately before combining them using the assumption. But I guess that's also what they are interested in, when calculating "unbiased" accuracy. As they state in the paper "We construct the unbiased evaluation set in a way that the target and bias attributes |
Hi, |
In train.py the
valid_accs_b
andvalid_accs_d
are computated as a mean of the mean attribute-wise accuracies. This will result in incorrect results if the class and bias labels are not equally distributed.The text was updated successfully, but these errors were encountered: