Motorrat / anonyxel

Excel tables Anonymizer for Machine Learning applications.
Other
5 stars 2 forks source link

Explore calculating K-Anonymity #3

Open Motorrat opened 5 years ago

Motorrat commented 5 years ago

A data set provides k-anonymity for the data subjects represented if the information for each person contained in the data set cannot be distinguished from at least k-1 individuals whose information also appears in the data set. For example, a data set has 5-anonymity if, for every record in the data set that describe characteristics of a data subject, there are at least four other individuals also represented by records in the data set who share the same characteristics described by the record.

Page 39 https://digital.nhs.uk/binaries/content/assets/legacy/pdf/b/o/1523202010spec.pdf

Motorrat commented 5 years ago

https://en.wikipedia.org/wiki/K-anonymity

Motorrat commented 5 years ago

https://github.com/Motorrat/anonyxel/blob/master/anonyxel_cmd.py#L163