Git Product home page Git Product logo

rolare / explainable-deep-learning Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 393 KB

Methods to improve the explainability of machine learning models, while still being performant models. This repository presents an implementation of Google Brain's Team Distilling a neural network into a Soft Decision Tree by Nicholas Frosst and Geoffrey Hinton.

License: MIT License

Jupyter Notebook 100.00%
neural-network convolutional-neural-networks soft-decision-tree explainable-ai notebook

explainable-deep-learning's Introduction

Distilling a Neural Network into a Soft Decision Tree

This repository presents a notebook containing the necessary code in our attempt to reproduce Google Brain's Team paper Distilling a Neural Network into a Soft Decision Tree (https://arxiv.org/pdf/1711.09784.pdf). The work was done by students of the class INF8225, in Polytechnique Montréal. To run the entire notebook, you currently need a GPU or you'll need to adapt few lines of code.

Architecture of the Convolutional Network

Layer Type Units Kernel Size Stride
Conv.2D 32 3 1
Conv.2D 64 3 1
MaxPool.2D - 2 1
Dropout(0.25) - - -
Dense 128 - -
Dropout(0.25) - - -
Dense 10 - -
Softmax 10 - -

Main Results

Model Labels Acc. Val Acc. Test
Conv. Net Hard (one hot) 99.29 99.28
SDT Hard (one hot) 90.09 90.75
SDT Soft 90.85 92.09

For further analysis and implementation details, please refer to the pdf report joined to this repository.

explainable-deep-learning's People

Contributors

mabelal avatar rolare avatar

Stargazers

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