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.2.tar.gz (234.9 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.2-py3-none-any.whl (294.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pm4mkb-0.1.2.tar.gz
  • Upload date:
  • Size: 234.9 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.2.tar.gz
Algorithm Hash digest
SHA256 f766c8631013312e33e3fae654c88ddad0da18d61760655eddc7c3b87d1d8a7e
MD5 d8f4d79e5d5b10d663f91643dd1124ea
BLAKE2b-256 fe9bdfea167cf3854551d4ddd0f4041b58e662952c8f5b8bc8e5a3d7ba5fcae9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pm4mkb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 294.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 94f1146f1e3391668ebb12611860ac0898bf876e752a43a05f6d672b73f92131
MD5 cff86e46ac5c8e2cfa6cbedb9c8227f3
BLAKE2b-256 241834d406b3e8ec9952cb54ac3e091ff60ad5f9546c5277acc3d87e1a3b2ae3

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