Code Monkey home page Code Monkey logo

step's Introduction

STEP (Symbolic and Tractable Explanation Package)

Generates explanations from a Sentential Decision Diagram (SDD). The explanation techniques are described in the following paper:

A Symbolic Approach to Explaining Bayesian Network
In Proceedings of the 27th International Joint Conference on Artificial Intelligence (IJCAI), 2018.
Andy Shih and Arthur Choi and Adnan Darwiche.

Input Format

The input SDD is specified using "config.json". It should have a JSON object with the following fields:

  • "name": the name of the SDD of interest
  • "sdd_filename": the filepath for the SDD
  • "vtree_filename": the filepath for the vtree accompanying the SDD
  • "variable_description_filename": the filepath of the variable description file for the SDD

First, each occurrence of %s in the configuration paths will be replaced with config["name"]. Then, the SDD file should be located at config["sdd_filename"], the vtree file should be located at config["vtree_filename"], the variable description file should be located at config["variable_description_filename"].

For example, if config["name"] = "admission_1" and config["sdd_filename"] = "sdd/%s/%s.sdd" then the SDD file should be located at "sdd/admission_1/admission_1.sdd".

Output Format

The explanation output will be printed to stdout.

Running BNC_SDD

Edit src/expl.py to play around with the different explanation queries available in src/explanation_queies.py.

Then, run

./run

Further Questions

Contact us at

Andy Shih: [email protected]
Arthur Choi: [email protected]
Adnan Darwiche: [email protected]

step's People

Contributors

andyshih12 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.