Giter Club home page Giter Club logo

csl-downtimes's Introduction

csl-downtimes

Scripts and example data to accompany the paper "Understanding Unforeseen Production Downtimes in Manufacturing Processes Using Log Data-driven Causal Structure Learning"

Setup

Dependencies & Required Packages

To run the python scripts the following package is required: Pandas,

For the R scripts the following packages are required: pcalg ParallelPC graph causaleffect igraph

How To

For the transformation of log data you have to run the following command:

python log_to_obs.py

Note, that this script reads the data from synthetic_data.csv. Domain knowledge in form of the aggregation functions and variable classification are specified in the dictionaries in the script. The script already applies the discretization step. Results are written to observations.csv and observations_disc.csv

Next the causal structures are learnt running the following command:

Rscript csl.R

Results are written to edges.csv and can be further processed running the command:

python domain_knowledge.py

Output are edges which do not correspond with the provided edge orientation rules based on the domain knowledge.

An example to calculate the formular for the application of causal effect estimation is provided in the ci.R script, based on edgeExample.csv

csl-downtimes's People

Contributors

christopherschmidt89 avatar

Stargazers

 avatar

Watchers

 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.