Code Monkey home page Code Monkey logo

business_process_encoding's Introduction

Business Process Encoding

Extraction of encodings in from even logs. In total, 22 different encodings are implemented. The encodings are divided into four categories: baseline, process mining based, text based and graph based.

made-with-python Maintenance GitHub issues GitHub forks GitHub stars GitHub license

Table of Contents

Installation

Clone this repo to your local machine using

git clone https://github.com/gbrltv/business_process_encoding.git

Create an environment and activate it

conda create --name bpe python=3.10
conda activate bpe

Install dependencies

python -m pip install -r requirements.txt

Extract encodings

To generate the encodings, simply call the main function and provide the arguments. Example:

python main.py --dataset=event_logs/scenario1_1000_attribute_0.05.xes --encoding=onehot

The computed encodings are returned and then can be used for further tasks.

Parameters

Parameter Description Options
dataset event log path -
encoding encoding method used to extract embeddings onehot, count2vec, alignment, logskeleton, tokenreplay, doc2vec, hash2vec, tfidf, word2vec, boostne, deepwalk, diff2vec, glee, grarep, hope, laplacianeigenmaps, netmf, nmfadmm, node2vec, nodesketch, role2vec, walklets
vector_size number of desired dimensions for the encoding (note that some encoding methods do not allow to configure this option) -
aggregation how to aggregate activities' encodings to represent a complete trace (exclusive for some methods of the text and graph families of encodings) average, max
embed_from extract encodings from nodes or edges (exclusive for the graph-based encodings) nodes, edges
edge_operator how to aggregate edge embeddings (exclusive for the graph-based encodings) average, hadamard, weightedl1, weightedl2

References

Barbon Jr., S., Ceravolo, P., Damiani, E., Tavares, G.M.: Evaluating trace encoding methods in process mining, 2021

Tavares, G.M., Oyamada, R.S., Barbon Jr., S., Ceravolo, P.: Trace encoding in process mining: A survey and benchmarking, 2023

Contributors

business_process_encoding's People

Contributors

gbrltv avatar sbarbonjr avatar

Stargazers

Thiago Araújo avatar  avatar lukeaust avatar  avatar  avatar  avatar Rafael Seidi Oyamada avatar RENATO VERTUAM NETO avatar Sven Weinzierl avatar Alexander Seeliger avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Thiago Araújo avatar

business_process_encoding's Issues

Citation

Can you cite the Karate Club paper in the final work that is submitted?

@inproceedings{karateclub,
title = {{Karate Club: An API Oriented Open-source Python Framework for Unsupervised Learning on Graphs}},
author = {Benedek Rozemberczki and Oliver Kiss and Rik Sarkar},
year = {2020},
pages = {3125–3132},
booktitle = {Proceedings of the 29th ACM International Conference on Information and Knowledge Management (CIKM '20)},
organization = {ACM},
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.