Skip to content

happyberry/prototype-nn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reimplementation of explainable prototype deep neural network

This repository contains reimplemented interpretable neural network proposed in paper by Oscar Li, Cynthia Rudin et al.

Datasets

  • Sadly, we didn't get any response from owners of Cars dataset, so (as planned) we switched to Rock, Paper, Scissors dataset resized to 64x64 shape (to unify image shapes with Cars)
  • All three datasets are available on Tensorflow Datasets. Code used to download the datasets is available here

Authors' code

We executed the code shared by the paper authors on MNIST dataset. As authors' code is compatible with Tensorflow 1.2, we used docker image to run the code. To save time and energy, we ran the training for 100 epochs instead of 1500 proposed by authors as results were satysfying by that point. Results of the experiment with authors' code are available here.

Implementation

  • We implemented everything needed to conduct all the experiments described in paper, most notably including custom loss function, data augmentation and prototype layer
  • Experiments which were originally conducted on Cars dataset were reproduced on FashionMNIST
  • Comparison of our results and original ones are presented on slides which can be found here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages