Skip to content

Instantly share code, notes, and snippets.

@Shoeboxam
Created April 9, 2024 19:39
Show Gist options
  • Save Shoeboxam/083482b309d329f25a73179acfe6d9d3 to your computer and use it in GitHub Desktop.
Save Shoeboxam/083482b309d329f25a73179acfe6d9d3 to your computer and use it in GitHub Desktop.
OpenDP PCA
import opendp.prelude as dp
model = dp.sklearn.PCA(
epsilon=1.,
row_norm=1.,
n_samples=num_rows,
n_features=4,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment