Quantifying Temporal Privacy Leakage in Continuous Event Data Publishing
Project description
Introduction
This project implements the quantification of privacy leakage for differential privacy mechanisms in 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 pm-cedp-qdp
Usage
from pm_cedp_qdp.qdp import QDP
if __name__ == '__main__':
log_name = "BPI2012App.xes"
state_window = 200 # a large number will consider the entire prefix/suffix of traces
state_direction = "backward" # backward (prefix) or forward (suffix)
export_csv = log_name[:-4] + "_" + str(state_window) + "_" + state_direction + ".csv"
recursive = True #This will continue quantifying releases until there is no incomplete trace. Otherwise, only one release is quantified.
only_complete_traces = False #If you want to only consider the complete traces for generating temporal correlations.
epsilon = 0.01
qdp = QDP()
FPL, BPL, TPL = qdp.apply(log_name,epsilon,export_csv,recursive=recursive,
only_complete_traces=only_complete_traces, state_window = state_window, state_direction = state_direction)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pm_cedp_qdp-0.0.1.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for pm_cedp_qdp-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1560e30bc6b64a886445cd11f057b15e1f839c2dcd41946f5c565518c99a6917 |
|
MD5 | 257719fa329875ab368dbef5ce9e1cb8 |
|
BLAKE2b-256 | 270ceec3675b05bc62ae13e00a857b22281e3a3a61edfac82c117234f73bc767 |