Skip to main content

TLKC-privacy model for process mining

Project description

Introduction

This project implements the extended version of 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-ext

Usage

from p_tlkc_privacy_ext.privacyPreserving import privacyPreserving
import os

event_log = "running_example.xes"
L = [3]
K = [2]
C = [1]
alpha = 0.5 #privacy coefficent
beta = 0.5 #utility coefficent
sensitive_att = []
T = ["minutes"]
cont = []
bk_type = "set" #set, multiset, sequence, relative
trace_attributes = ['concept:name']
life_cycle = ['complete', '', 'COMPLETE'] #these life cycles are applied only when all_lif_cycle = False
all_life_cycle = True #when life cycle is in trace attributes then all_life_cycle has to be True
if not os.path.exists("./xes_results"):
    os.makedirs("./xes_results")
pa_log_dir = "xes_results"
pa_log_name = event_log[:-4]

pp = privacyPreserving(event_log)
result = pp.apply(T, L, K, C, sensitive_att, cont, bk_type, trace_attributes, life_cycle, all_life_cycle,alpha, beta, pa_log_dir, pa_log_name, False)

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_ext-0.0.5.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

p_tlkc_privacy_ext-0.0.5-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file p_tlkc_privacy_ext-0.0.5.tar.gz.

File metadata

  • Download URL: p_tlkc_privacy_ext-0.0.5.tar.gz
  • Upload date:
  • Size: 14.0 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

Hashes for p_tlkc_privacy_ext-0.0.5.tar.gz
Algorithm Hash digest
SHA256 bf2ae114fb9825637a6b09c5f46d7f941d553948d47b87c96e04142d52a06092
MD5 e6bd08fa88c1fad2cf1837c3f02f6c30
BLAKE2b-256 a7b4510736d0cdeb7451758ce62da9fe8fdeadc3d9728d6d6769eb9ef387c127

See more details on using hashes here.

Provenance

File details

Details for the file p_tlkc_privacy_ext-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: p_tlkc_privacy_ext-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 27.0 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

Hashes for p_tlkc_privacy_ext-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0e43394e134c9bc32dfdd10b4a32dc12aeb048c4afe84e338c1e4e27a836a020
MD5 3b1e9052bf68ee0f39feb7bbcc32f85e
BLAKE2b-256 22da6bfa3a87c6d48e72476fa90b413a0e4a9e886cfa89bc1ddcea8bcee0cd6c

See more details on using hashes here.

Provenance

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