This repository contains additional material of the paper "A Framework for Inferring Missing Event Log Data in Production Processes". In particular, it contains example code for the different methods introduced in the paper.
The following methods can be found in the repository:
- Template generation
- Segmentation: change point detection, binary segmentation
- Data cleaning: trimming
- Merging: averaging, barycenter averaging
- Event Detection
- MASS algorithm
- DTW-based algorithm
You can find all the above mentioned code in this repository with notebook examples in the notebooks folder.
We also included the original code but this requires to setup the environment with an InfluxDB and the corresponding dataset.
To run the example code, you'll need to follow these steps:
- Install Miniconda (make sure to use a Python 3 version)
- After setting up miniconda you can make use of the
condacommand in your command line (Powershell, CMD, Bash) - We suggest that you set up a dedicated environment for this project by running
conda env create -f environment.yml- This will setup a virtual conda environment with all necessary dependencies.
- Depending on your operating system you can activate the virtual environment with
conda activate eventlog-inferrenceon Linux and macOS, andactivate adon Windows (cmdonly). - If you want to quickly install the
eventlog-inferrencepackage, runpip install -e .inside the root directory. - Now you can run the notebooks (except the ones in the
production-setupfolder).
Check the notebooks directory for example Jupyter Notebooks.