DisaitekAI / membership_inference_attack

Implementation for the experiments in the blogpost "Demystifying the Membership Inference Attack" at https://www.mlsecurity.ai/post/demystifying-the-membership-inference-attack
MIT License
1 stars 0 forks source link

Proper list concatenation #12

Closed rodgzilla closed 5 years ago

rodgzilla commented 5 years ago

https://github.com/DisaitekAI/membership_inference_attack/blob/de3ab672d0850a53badcd7bfb5f5206b86dd9d64/src/utils/statistics.py#L42-L43

This creates new list objects every time it is executed, you should use the list.extend method.