Skip to content

Verify if your dataset is anonymized using (h, k, p) - Coherence

License

Notifications You must be signed in to change notification settings

Killuaa27/h-k-p-CoherenceVerifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

h-k-p-CoherenceVerifier

Python script to verify h-k-p Coherence for Data protection and privacy exam

Usage

These instructions will tell you how to use the verifier.

Getting started

The script take two dataset as input. One dataset with only public items and one dataset with only private items.

Running

Launch the script with two parameters:

  • pub filepath - the dataset with public items
  • priv filepath - the dataset with private items
  • p - items known by attacker
  • k - Minumun number of transactions
  • h - Probability to deanonimize some item

Example

python3 verifier.py -pub dataset_pub.dat -priv dataset_priv.dat -p 4 -k 3 -p 0.8

The result will be print to console.

Resource

  • Paper - Anonymizing Transaction Databases for Publication

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Verify if your dataset is anonymized using (h, k, p) - Coherence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages