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

[rewrite] More noise stats #37

Merged
merged 25 commits into from
Sep 15, 2024

Conversation

han0110
Copy link
Collaborator

@han0110 han0110 commented Aug 29, 2024

No description provided.

assert_eq!(noise_ct_pk.mean().round(), 0.0);
assert!(noise_ct_pk.log2_std_dev() < var_noise_ct_pk.sqrt().log2());
assert!((noise_ct_pk.log2_std_dev() - var_noise_ct_pk.sqrt().log2()).abs() < 0.2);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this 0.2 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure tbh, the variance stats collected is not really stable, and it's roughly +-0.2

@Janmajayamall Janmajayamall merged commit bc5a880 into gausslabs:rewrite Sep 15, 2024
4 checks passed
@han0110 han0110 deleted the rewrite/more-noise-stats branch September 16, 2024 00:01
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