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/MKB_Process_Mining.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.1.tar.gz (198.1 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.1-py3-none-any.whl (250.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pm4mkb-0.1.1.tar.gz
  • Upload date:
  • Size: 198.1 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.1.tar.gz
Algorithm Hash digest
SHA256 9724e158bc793e64678ce87911d76febcccfc2540851c4f2b0cc24484e859c85
MD5 0a5795d0d9a67e03ddbe8c0b48da92bb
BLAKE2b-256 53d5a2909298bead99ef3e6470ecc96b727cc63c6176b36a685c665cc678bed3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pm4mkb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 250.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc130238bec1aacfd47dc13735315bc8f3c2a2d18a31c43fbd88961c4167844
MD5 e3ad71ade51036968f9dfc5668266e27
BLAKE2b-256 e3daaa593d64da4f11131b6d2bd947077aa818fcc48ee2e606e80916cebeb631

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