Skip to main content

Library that is intended to operate with various process mining tasks.

Project description

PyPI - Python Version PyPI - Version PyPI - Downloads License: MIT

Documentation | Installation | Quick start

MKBProcessMining (PM4MKB) – Process Mining Python framework

PM4MKB is an open-source Python library for conducting a comprehensive analysis of business processes with the use of process mining and machine learning techniques. By implementing this tool, objective and deep insights into the process on all levels can be revealed. These insights are then used to detect problems such as bottlenecks and deviations and identify potential opportunities for process improvement and optimization.

Authors: Process Mining for MKB Team.

Installation

To install PM4MKB framework on your machine from PyPI:

pip install pm4mkb

To install from sources:

git clone https://github.com/pm291097/pm4mkb.git

cd MKB_Process_Mining
pip install .

Additionally, you have to install graphviz executables and add the path to the executables to PATH variable:
https://graphviz.org/download/

Quick start

There are some steps for quick start for your process log analysis:

  • Create a DataHolder object:
from pm4mkb import SuccessInputs, DurationUnits

path = "example_data.xlsx"
data_holder = DataHolder(
    data=path,
    col_case="id",
    col_stage="action",
    col_start_time="start_time",
    col_end_time="end_time",
    col_user="user_id",
    col_text="text",
    success_inputs=SuccessInputs(entries={"Подписание документов ", "Принято"}),
)

data_holder.data.head()
  • Apply AutoInsights:
from pm4mkb.autoinsights import AutoInsights

auto_insights = AutoInsights(data_holder, successful_stage="Принято")
auto_insights.apply()

License

This project is released under the MIT License.

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

pm4mkb-0.1.3.tar.gz (258.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pm4mkb-0.1.3-py3-none-any.whl (317.3 kB view details)

Uploaded Python 3

File details

Details for the file pm4mkb-0.1.3.tar.gz.

File metadata

  • Download URL: pm4mkb-0.1.3.tar.gz
  • Upload date:
  • Size: 258.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pm4mkb-0.1.3.tar.gz
Algorithm Hash digest
SHA256 67f55d8081a3f8755b0a3cf6872b6c2ccc9a27df3fa3b4e38981b6ce1bce110e
MD5 95b54925d0c30998d2da8547085782a3
BLAKE2b-256 f0a95bc8f93231bb8743ede3adc6a742f541799942a1f3fd4fccdb97fd481af2

See more details on using hashes here.

File details

Details for the file pm4mkb-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pm4mkb-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 317.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for pm4mkb-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df1ff2531dbbcde0b885aba088ccc4ccc356725dd39d399cc9793d4cc9527c75
MD5 24454f54d44b81e53805eedaac54dcc6
BLAKE2b-256 fa9b83430fe3877ddf3891a72a6664ea3bef46454faf81e45f2f14d62d33dc07

See more details on using hashes here.

Supported by

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