Skip to main content

It mines long-term dependencies between events and results into a Precise model

Project description

Creating Precise Models by Discovering Long-term Dependencies in Process Trees

Given a log path and set of parameters, the dependency_miner algorithm is responsible for discovering long-term dependencies between the events and results into a precise Petri net by repairing the free-choice Petri net which includes the discovered rules. Added set of rules and computed evaluation metrics are returned.

Call miner(logpath, support, confidence, lift, soundness) It takes as input

    1. log_path (str): Path of event log
    2. support (str): Threshold value for support measure 
    3. confidence (str): Threshold value for confidence measure
    4. lift (str): Threshold value for lift measure, default min value = 1
    5. sound (str) : Soundness requirement if user wants sound model , "Yes/No"

The resulting precise Petri net can be found in the current location with the same name as that of input event log in .pnml and .svg format

Installation

pip install dependency_miner_pm4py

How to use it?

Install dependency_miner_pm4py package. Following, from dependency_miner.ltminer import miner

    Example: 
    log_path = "<path>\<file>.xes"
    support = "0.2"
    confidence = "0.3"
    lift = "1.0"
    sound = "Yes"
    miner(log_path, support, confidence, lift, sound)

License

Copyright (c) 2021 Ashwini Jogbhat

This repository is licensed under the MIT license. See LICENSE for details.

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

dependency_miner_pm4py-1.0.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

dependency_miner_pm4py-1.0.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file dependency_miner_pm4py-1.0.1.tar.gz.

File metadata

  • Download URL: dependency_miner_pm4py-1.0.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for dependency_miner_pm4py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 45e78a917fef6b3f825d5250c80815ea1e17f19ae6eb5d98c701530d1c2cf96d
MD5 8b0a371bb74b7cc522cc9a0608e94687
BLAKE2b-256 699440c6b2c96aa9fa0661993f69429d204d7004afaa9f2ab65b11d83316ef5e

See more details on using hashes here.

File details

Details for the file dependency_miner_pm4py-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: dependency_miner_pm4py-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for dependency_miner_pm4py-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d65a1ffa2e145b35f298fe7333b39691887b55437511a7e2bf3e1f4d460a2e
MD5 eaba5d45717866425d40508c019307b5
BLAKE2b-256 a032dee0a1024e3386cbba4af96a86474e9d4306156f126bc11f43f349fbf2e9

See more details on using hashes here.

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