-
Notifications
You must be signed in to change notification settings - Fork 49
Add DisclosureProtectionEstimate
metric
#686
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #686 +/- ##
==========================================
+ Coverage 94.29% 94.39% +0.10%
==========================================
Files 106 106
Lines 4031 4103 +72
==========================================
+ Hits 3801 3873 +72
Misses 230 230
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
fef7932
to
6d21816
Compare
42cd6d3
to
5a624e6
Compare
7a067fd
to
0918f8c
Compare
5a624e6
to
f4a47e2
Compare
real_data_samp = real_data.sample(min(num_rows_subsample, len(real_data))) | ||
synth_data_samp = synthetic_data.sample(min(num_rows_subsample, len(synthetic_data))) |
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.
what happens if the length of these two arrays differ because one has less than the number of rows to subsample and the other doesn't? Does that matter?
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 the underlying CAG metric it doesn't matter, since the metric doesn't need the real/synthetic data to be equally sized.
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.
LGTM!
f4a47e2
to
285cd08
Compare
Resolve #676
CU-86b2ypdtp