Skip to main content

TLKC-privacy model for process mining

Project description

Introduction

This project implements the TLKC-privacy model proposed in the paper TLKC-Privacy Model for Process Mining.

Python package

The implementation has been published as a standard Python package. Use the following command to install the corresponding Python package:

pip install p-tlkc-privacy

Usage

from p_tlkc_privacy.privacyPreserving import privacyPreserving

event_log = "running_example.xes"

L = [2]
C = [1]
K = [1]
K2 = [0.1]
# sensitive = ['creator']
sensitive = []
T = ["minutes"]
cont = []
bk_type = "sequence" #set, multiset, sequence, relative

privacy_aware_log_dir = "xes_results"
privacy_aware_log_path = "test.xes"

pp = privacyPreserving(event_log, "example")
result = pp.apply(T, L, K, C, K2, sensitive, cont, bk_type, privacy_aware_log_dir, privacy_aware_log_path)

print(result)

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

p_tlkc_privacy-0.0.14.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distribution

p_tlkc_privacy-0.0.14-py3-none-any.whl (32.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page