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.4.tar.gz (257.8 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.4-py3-none-any.whl (317.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pm4mkb-0.1.4.tar.gz
  • Upload date:
  • Size: 257.8 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.4.tar.gz
Algorithm Hash digest
SHA256 33da29c181dc56d2d3f7f15ae137226b00e6503fa9bd99fdfecafd7be1e1cfc0
MD5 3860d1723909402b85779badc1ecfb12
BLAKE2b-256 fe2788a8ca120ee2cea450094c2eddfdfd321ddd9aafd23dc76e8d09f27b05ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pm4mkb-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 317.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 837bb9367cf8005b798b061ef3652054514b68eddfd458f9201cdb5a010003fe
MD5 dd741309751c86b523f66820f9d8d619
BLAKE2b-256 d4d12b6c8adc3fb87dfd271995f331bed4b7f5b36c438fe300e4cd77c09110f9

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