Skip to main content

Introduction

This project implements the decomposition method proposed in the paper Mining Roles From Event Logs While Preserving Privacy.

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-role-mining

Usage

from pp_role_mining.privacyPreserving import privacyPreserving

#for fixed_value technique
NoSubstitutions = 2
#for selective technique
MinMax = [True, True] #if you want to perturb both lower and upper bound
#for frequency_based technique
FixedValue = 0 #to combine the fixed_value techniue with the frequency_based technique (FixedValue=0 is only frequency_based without any fixed value added to the number of substitutions)

show_final_result = False

event_log = "running_example.xes"
# event_log = "pp_running_example.xes"
technique = 'fixed_value'  # fixed_value, selective, frequency_based
resource_aware = True #true if we want to consider resources while allocating activity substitutions. Otherwise it is False
hashedActivities = True #if you want to produce hash of activities
exportPrivacyAwareLog = True #if you want to export the log with the perturbed activities
privacy_aware_log_path = "pp_" + event_log
#
pp = privacyPreserving(event_log)
pp.apply_privacyPreserving(technique, resource_aware, exportPrivacyAwareLog, show_final_result, hashedActivities, NoSubstitutions=NoSubstitutions, MinMax=MinMax,
                           FixedValue=FixedValue, privacy_aware_log_path=privacy_aware_log_path, event_attribute2remove=["Activity", "Resource", "Costs"], case_attribute2remove=["creator"])

Metadata

Release files for pp-role-mining 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pp-role-mining 0.0.10
File Size Uploaded Provenance
pp_role_mining-0.0.10.tar.gz 12.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pp-role-mining 0.0.10
File Interpreter ABI Platform
pp_role_mining-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 37.1 kB

Release files / pp_role_mining-0.0.10.tar.gz

Download URL pp_role_mining-0.0.10.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cb6df2b38e0840c965fe737e3a46f4a3b910b0356ec8a8557dbd1dae3f8e0767
BLAKE2b-256 checksum
How to use checksums
312bac95b7fc8547d2aa30d9a9159a252ebe1713a7100a2f0044c460ab9d43f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

Release files / pp_role_mining-0.0.10-py3-none-any.whl

Download URL pp_role_mining-0.0.10-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af3ebc6913f74825be692e9dac9650c203840037b2b0b5c7a1a81822637fe31f
BLAKE2b-256 checksum
How to use checksums
a032c7b43db4c4c594c4453dbd41b200ac49d624bf5a50325729e6a5b760b29d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

Security for pp-role-mining 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page