diff --git a/tensorflow_privacy/privacy/membership_inference_attack/README.md b/tensorflow_privacy/privacy/membership_inference_attack/README.md index 88e2281..4b9d74a 100644 --- a/tensorflow_privacy/privacy/membership_inference_attack/README.md +++ b/tensorflow_privacy/privacy/membership_inference_attack/README.md @@ -213,6 +213,8 @@ import tensorflow_privacy.privacy.membership_inference_attack.plotting as plotti figure = plotting.plot_roc_curve(max_auc_attacker.roc_curve) ``` +which would give a figure like the one below +![roc_fig](https://github.com/tensorflow/privacy/blob/master/tensorflow_privacy/privacy/membership_inference_attack/codelab_roc_fig.png?raw=true) Additionally, we provide funcitonality to convert the attack results into Pandas data frame: diff --git a/tensorflow_privacy/privacy/membership_inference_attack/codelab_roc_fig.png b/tensorflow_privacy/privacy/membership_inference_attack/codelab_roc_fig.png new file mode 100644 index 0000000..baae749 Binary files /dev/null and b/tensorflow_privacy/privacy/membership_inference_attack/codelab_roc_fig.png differ