Privacy#

Privacy module provides tools to check the robustness of the synthesized data against inference attack.

Attribute Inference

AttributeInferenceAttackML(model, sensitive_col)

Computes the privacy score between two dataframes using ML model

AttributeInferenceAttackCAP(model, sensitive_col)

Computes the privacy score between two dataframes using CAP (Correct Attribution Probability) method

Identity Inference

Sanitizer(synthesizer, df_orig[, ...])

Generates synthetic data without any original row present in the output.