Privacy-Preserving Continuous Event Data Publishing
Project description
Introduction
This project implements "Privacy-Preserving Continuous Event Data Publishing".
Python package
The implementation has been published as a standard Python package. Use the following command to install the corresponding Python package:
pip install pp-cedp
Usage
from pp_cedp.CEDP import CEDP
from datetime import datetime
if __name__ == '__main__':
log_name1 = "./event_logs/EL1_minutes_4_5_1_sequence.xes"
log_name2 = "./event_logs/EL2_minutes_4_5_1_sequence.xes"
event_attributes = ['concept:name']
sensitive = ['Diagnose']
life_cycle = ['complete', '', 'COMPLETE']
all_life_cycle = True #True will ignore the transitions specified in life_cycle
time_accuracy = "original" # original, seconds, minutes, hours, days
bk_length = 3
n = 1
results_dir = "./Results"
result_log_name = "test_"
multiprocess = True
cedp = CEDP()
while n <= bk_length:
start = datetime.now()
cedp.calc_FCB_anonymity(log_name1, log_name2, event_attributes, life_cycle, all_life_cycle, sensitive, time_accuracy, n, bk_length,
result_log_name, results_dir = results_dir, from_time_days =0, to_time_days = 0, multiprocess = multiprocess)
print(datetime.now()-start)
n += 1
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pp_cedp-0.0.2.tar.gz
(8.6 kB
view details)
Built Distribution
pp_cedp-0.0.2-py3-none-any.whl
(20.6 kB
view details)
File details
Details for the file pp_cedp-0.0.2.tar.gz
.
File metadata
- Download URL: pp_cedp-0.0.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.25.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adacacd530502040095db39859854ce08c1bdb5810c95c8f9e1693c0aea2db8f |
|
MD5 | ff9c1e4ac9912ae9d59e24abc96785dd |
|
BLAKE2b-256 | 8dacb1f8d08ec66d0bb6b0ffa4ff52356a68630c09ca0e57fe1d0f2d3e1f9467 |
Provenance
File details
Details for the file pp_cedp-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pp_cedp-0.0.2-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.25.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 765e3542fea9a300155f29d9e5eb4ddfce7b58f3dc642e3129e91a9e465c211f |
|
MD5 | eb39871580e58f6af9a5df50d56dd475 |
|
BLAKE2b-256 | ceaedbb04c7e75fcf844e392b3e55644449cd0e00c4f9b099bd4eccece2c8027 |