Skip to content

fmannhardt/course-applied-processmining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Applied Process Mining

The notebooks in this repository are part of a course on Applied Process Mining course given by Dr. Felix Mannhardt (@fmannhardt) of Process Analytics group at Eindhoven University of Technology. In total there are currently 4 lectures and the associated hands-on notebooks in this repository. The collection of notebooks is a living document and subject to change. Each lecture is accompanied by a notebook in both R and Python using the Process Mining frameworks bupaR and PM4Py, respectively.

Table of Contents

Block 1 - 'Event Logs and Process Visualization'

Block 2 - 'Process Discovery'

Block 3 - 'Conformance Checking'

  • Lecture Notebooks
    • 🚧 (there is currently not conformance checking functionality in R)
    • Python Binder

Block 4 - 'Predictive Process Mining'

  • Lecture Notebooks
    • 🚧 (R version is under construction)
    • Python Binder

Installation & Usage

Using MyBinder

Simply click on the launch binder links for either the R or the Python notebook. You may also use the Google Colab service by clicking on the Google Colab links, however, you may need to prepare the Google Colab environment to have the respective packages installed.

Run locally

Docker

Simply build a Docker image with the provided Dockerfile:

docker build -t fmannhardt/course-applied-processmining .

And start the Docker container running Jupyter on localhost:8888:

docker run --rm -ti -e JUPYTER_TOKEN=processmining -p 8888:8888 fmannhardt/course-applied-processmining

or use the Jupyter Lab interface:

docker run --rm -ti -e JUPYTER_TOKEN=processmining -p 8888:8888 fmannhardt/course-applied-processmining sh -c "jupyter lab --ip 0.0.0.0 --no-browser"

Jupyter

You should be able to run the Jupyter notebooks directly in a Jupyter environment. Please make sure to have installed the following requirements:

Python

pip install -r requirements.txt

Make sure to install GraphViz for the visualization. On Windows with Chocolately this should work:

choco install graphviz

Consult the PM4Py documentation for further details.

R

Install the Jupyter kernel for R:

install.packages(c("IRkernel"))

and install the nessecary packages:

R --quiet -f install.R

Depending on your system configuration, it can be tricky to make the IRkernel known to Jupyter. Please follow the instructions on their Github page. As a hint, you may need to open the R console from an Anaconda console and perform IRkernel::installspec() in case you are using conda environment.

About

Introduction to Applied Process Mining with Python and R notebooks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages