-
Notifications
You must be signed in to change notification settings - Fork 23
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
Nd bias bootstrap #374
Nd bias bootstrap #374
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for performance, group_name in zip(performances, group_names): | ||
performance_dict[group_col] += [group_name] * len(performance) | ||
performance_dict[metric_name] += performance | ||
sns.boxplot(x=group_col, y=metric_name, data=pd.DataFrame(performance_dict), ax=ax) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we should also compute P-Values for the groups belonging to different distributions given these performances? (Can wait for another PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that should be another PR because it's not obvious to me how to calculate the p-value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds protected tensor maps gathered during test set inference Adds bootstrapped performance comparison per class of protected tensor maps
Adds protected tensor maps gathered during test set inference Adds bootstrapped performance comparison per class of protected tensor maps
Adds protected tensor maps gathered during test set inference Adds bootstrapped performance comparison per class of protected tensor maps
Adds protected tensor maps gathered during test set inference Adds bootstrapped performance comparison per class of protected tensor maps
This builds on
gn_sf_bias
by replacing the scatter blots with bootstrapped performance by protected class. Here is an example running test scalar with protected tmaps (on an untrained model)