unknown d339394ce8 update readme | 1 년 전 | |
---|---|---|
kanonymity | 1 년 전 | |
simulator | 1 년 전 | |
.gitignore | 1 년 전 | |
README.md | 1 년 전 | |
requirements.txt | 1 년 전 |
This is the source code of the implementation for the bachelor thesis "Towards Anonymous Medical Data Collection".
Python 3.9+
Other dependencies can be installed with pip install -r requirements.txt
.
Configuration files are needed to set the parameters for the implementation.
To start the mix network simulator, run python simulation.py [path to configuration file]
.
See test_conf.json for an example of the configuration file.
To start the k-anonymization algorithms, run python anonymization.py [path to configuration file]
.
See exp1_conf.json, exp2_conf.json, exp3_conf.json, and test_conf.json for examples of the configuration file.
Currently, only the Adult dataset is supported. To include more datasets, add a .csv file for the raw dataset
and update categorical.py
in the datasets
folder. See the .csv file for Adult as an example.
The implementation is based on the open-source code of Piotrowska and Slijepčević et al. The original repositories can be found here (Piotrowska) and here (Slijepčević et al.). For more information see