Object-Centric and Explainable Process Mining
Project description
🧠 ProcX
ProcX is a Python package for Object-Centric and Explainable Process Mining. It enables flexible modeling of real-world processes with multiple object types, activity variants, and insightful visualization tools.
📦 Installation
pip install procx
Or install from source:
git clone https://github.com/yourusername/procx.git
cd procx
pip install .
🚀 Features
- Load and flatten OCEL logs
- Filter events by object type, activity, and time
- Generate object-centric graphs
- Visualize variant frequencies
- Explore metrics interactively via dashboard
🛠️ Basic Usage
from procx.io.loader import load_ocel_json
from procx.preprocessing.transformer import flatten_ocel
from procx.ocpm.model_builder import build_object_graph
# Load event log
events, objects = load_ocel_json("your_file.json")
# Flatten for a specific object type
flat_df = flatten_ocel(events, "Patient")
# Build and analyze graph
G = build_object_graph(flat_df)
📊 Run the Dashboard
cd dashboard
streamlit run app.py
Upload your OCEL JSON file and interactively filter, analyze, and download results.
🤝 Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a pull request
📄 License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file procx-0.1.1.tar.gz.
File metadata
- Download URL: procx-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25ccb2820f5626dfa066db8ffc78228e743866283010c55524adab9e52b26e75
|
|
| MD5 |
2b8c290ac90844f2d1dc99a5ad1657ce
|
|
| BLAKE2b-256 |
b2f2f3c0836365108db60c7d062057ce7c0d83c55d0fb3898b26362f85469e73
|
File details
Details for the file procx-0.1.1-py3-none-any.whl.
File metadata
- Download URL: procx-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64eadebceb7af65139c469763866298fbcab1c3a70531d335ec5da39e6d184bb
|
|
| MD5 |
3ff18030ac916216dc357462f1127dcc
|
|
| BLAKE2b-256 |
0cc8f33a892ba32febfa35bce97347b11cb228f911035e035d965ba714a08a39
|