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.0.tar.gz (198.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.0-py3-none-any.whl (250.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pm4mkb-0.1.0.tar.gz
  • Upload date:
  • Size: 198.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.0.tar.gz
Algorithm Hash digest
SHA256 1a22707aff46d8ea81d61fcabd37f894452d62bcb0ef59f60da259b812a6d710
MD5 4a82287ca09b0d6fded46a72fcd9374f
BLAKE2b-256 f3f56ac45c4be6ceb71c52141c2011a742567acf9d581076b2e28e5bfd71b890

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pm4mkb-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c707e7791cb70d0fecd806210ea1c9d8f8cb6f8ed55a2710ae33942cde000b99
MD5 4efd3da28e998cb5469bb03dd8fd5108
BLAKE2b-256 ea991d57241e4abd944bd12899d619c63218519b032f642ccbf4535421009a18

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