GithubHelp home page GithubHelp logo

francesco-sovrano / from-philosophy-to-interfaces-an-explanatory-method-and-a-tool-inspired-by-achinstein-s-theory-of-e Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 19.21 MB

From Philosophy to Interfaces: an Explanatory Method and a Tool Inspired by Achinstein’s Theory of Explanation

Python 35.68% HTML 35.54% Shell 0.36% CSS 0.83% JavaScript 27.58%
explanations theory philosophy explanatory-models heloc-dataset explanation credit-approval xai explainable-ai contrastive-explanations

from-philosophy-to-interfaces-an-explanatory-method-and-a-tool-inspired-by-achinstein-s-theory-of-e's Introduction

From Philosophy to Interfaces: an Explanatory Method and a Tool Inspired by Achinstein’s Theory of Explanation

In this repository you'll find the source code and the data used in the experiments of our paper: "From Philosophy to Interfaces: an Explanatory Method and a Tool Inspired by Achinstein’s Theory of Explanation". This paper has been presented at ACM IUI 2021, the 26th annual meeting of the intelligent interfaces, in April the 15th.

Installation

Before installation, be sure that virtualenv and pip are both available to your local python environment. To install virtualenv run pip install virtualenv.

The Code

Extra Documentation

We share with you:

  • a pitch summarising the salient aspects of the proposed technology,
  • a brief video presenting the live demo.

How to Run the Demos (after Installation)

Each demo is made of different components:

  • The baseline has 2 components:
    • aix, containing the back-end of the credit approval system: the code for training and deploying the neural network and CEM.
    • yai, containing the front-end of the credit approval system: the interface.
  • The alternative has the same components of the baseline, but the following extra:
    • oke, containing the back-end of the explanatory AI used for the generation of user-centred explanations.

You can run all the components together by running the scripts:

  • software/yai_alternative/server.sh 8080 to start the alternative to the baseline, at port 8080.
    • The first time you run it may take a while, training the neural network for credit approval (therefore generating the npz and h5 files) and downloading the pre-trained language models for summarisation and question-answer retrieval (a few GB each one).
    • Log files are saved in the aix, oke and yai folders.
  • software/yai_baseline/server.sh 8000 to start the baseline at port 8000.
    • The first time you run it may take a while, training the neural network for credit approval (therefore generating the npz and h5 files).
    • Log files are generated in the aix and yai folders.

For debugging or other reasons, you can run the components separately by executing the following command python3 server.py 8080 (replace 8080 with the port number you chose) from within the directory of the component.

The User Study

Citation

Please use the following bibtex entry:

@inproceedings{sovrano2021philosophy,
  title={From Philosophy to Interfaces: an Explanatory Method and a Tool Based on Achinstein's Theory of Explanation},
  author={Sovrano, Francesco and Vitali, Fabio},
  booktitle={Proceedings of the 26th International Conference on Intelligent User Interfaces},
  year={2021},
}

Contact

To report issues, use GitHub Issues. For other queries, contact Francesco Sovrano [email protected]

from-philosophy-to-interfaces-an-explanatory-method-and-a-tool-inspired-by-achinstein-s-theory-of-e's People

Contributors

francesco-sovrano avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

pollomarzo

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.