Coder Social home page Coder Social logo

omarmohamed2011 / binet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tnolle/binet

0.0 1.0 0.0 56.58 MB

This is the complementary code repository for the BINet papers.

License: GNU General Public License v3.0

Python 2.87% Jupyter Notebook 97.13%

binet's Introduction

BINet: Multi-perspective Business Process Anomaly Classification

This is the complementary repository for BINet, a neural network architecture for multi-perspective anomaly detection and classification in business process event logs. BINet was originally proposed in [3] and then extended in [4]. The repository also contains implementations of all methods mentioned in [3, 4]. Specifically, it also contains the implementations for the DAE method from [1, 2].

All results can be reproduced using the notebooks in the notebooks directory.

Setup

The easiest way to setup an environment is to use Miniconda.

Using Miniconda

  1. Install Miniconda (make sure to use a Python 3 version)
  2. After setting up miniconda you can make use of the conda command in your command line (Powershell, CMD, Bash)
  3. 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.
    • If your device does have a GPU replace tensorflow with tensorflow-gpu in the environement.yml
  4. Depending on your operating system you can activate the virtual environment with conda activate binet on Linux and macOS, and activate binet on Windows (cmd only).
  5. If you want to make use of a GPU, you must install the CUDA Toolkit. To install the CUDA Toolkit on your computer refer to the TensorFlow installation guide.
  6. If you want to quickly install the april package, run pip install -e . inside the root directory.
  7. Now you can start the notebook server by jupyter notebook notebooks.

Note: To use the graph plotting methods, you will have to install Graphviz.

Additional Material

To illustrate the findings in [4], this repository contains Jupyter notebooks. The notebooks are named according to the sections in the paper. Notebooks with A in the name contain additional material which is not included in the papers. The code to reproduce the figures in the paper can be found inside the notebooks. All necessary files to reproduce the results are also included in the repository.

Notebooks

  1. Introduction
  2. Related Work
  3. Datasets
  4. Method
    • 4.1 Heuristics
    • 4.A1 Training
      • Will train and save the anomaly detection models as used in the paper. For non-deterministic anomaly detectors, results might differ from the ones in the paper.
  5. Evaluation
  6. Classifying Anomalies
    • 6. Classification
      • Produces the heatmap visualization featured in the paper. Additionally, demonstrates how to use the plot_heatmap method.
  7. Conclusion

References

  1. Nolle, T., Seeliger, A., Mühlhäuser, M.: Unsupervised Anomaly Detection in Noisy Business Process Event Logs Using Denoising Autoencoders, 2016
  2. Nolle, T., Luettgen, S., Seeliger A., Mühlhäuser, M.: Analyzing Business Process Anomalies Using Autoencoders, 2018
  3. Nolle, T., Seeliger, A., Mühlhäuser, M.: BINet: Multivariate Business Process Anomaly Detection Using Deep Learning, 2018
  4. Nolle, T., Luettgen, S., Seeliger, A., Mühlhäuser, M.: BINet: Multi-perspective Business Process Anomaly Classification, 2019
  5. Nolle, T., Seeliger, A., Thoma, N, Mühlhäuser, M.: DeepAlign: Alignment-based Process Anomaly Correction Using Recurrent Neural Networks, 2020

binet's People

Contributors

tnolle avatar kinetize avatar

Watchers

James Cloos avatar

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.