GithubHelp home page GithubHelp logo

ml-project-2-la_team's Introduction

ML Project 2 : Create an Interactive Teaching Tool for Medical Doctors to Understand how Machine Learning Models Work (and how they Break!)

Website URL

https://bias-ml-slayer.streamlit.app/

Setup

Website (local) :

  • Install requirements from requirements.txt.
  • Go to website foler
  • run this command : "streamlit run Main.py"

Dataset :

  • The dataset is stored on Google Drive and available at the following link: https://drive.google.com/drive/folders/1CGFnv5D0TNlTD7U5iKnAIoQ3haoKkdAA?usp=sharing. Downloading the dataset from there allows you to use the structure required with our pipeline, without modifying any path. Because it is stored on Google Drive, you can create a shortcut to our link on your own Google Drive and run the code comfortably with a Google Colab notebook. This will save you a potentially long download time.

Repository content

|
\
src
  | model_tools.py       Tools to define the architecture of the model
  | pipeline_tools.py    Tools to import image for the pipeline
  | poison_images.py     Script used to resize and poison images with dot/date/invisible_dot
  | predToBinary.py      Script used to get Binary predition (0 or 1) from range prediction file ([0..1])
\
results     # contains some of our results from the data exploration

\
notebooks
  | data_exploration.ipynb : analyze the distribution of the dataset images according to the width/height ratio
  | gradcam.ipynb : run Grad-CAM on a pre-trained model and output the Grad-CAM image
  | ml_pipeline.ipynb : import dataset, train, test model and export predictions
 \
data        # raw data used to compute metrics in the site

\
generated   # generated data from notebooks

\
res         # resources 

\
website
  \
  img       # images used in the website

  \
  pages     # Pages of the website sequentially followed by user

  | helper_website.py   Tools used to avoid redundancy between the website pages
  | Main.py             File used to launch the site, main page
  | metrics.py          Computation and display of metrics in the website
  | path_constants.py   Dictionnaries of constants to get path of the resource needed by the site
  | style.css           Style sheet

Authors :

  • Joris Monnet
  • Colin Pelletier
  • Killian Raude

ml-project-2-la_team's People

Contributors

jorismonnet avatar colinpelletier avatar kraude avatar

Stargazers

 avatar Alexandre Piveteau avatar  avatar

Watchers

Matteo Pagliardini avatar Roberto Castello avatar Lie He avatar Maria Vladarean avatar ztzthu avatar  avatar  avatar

Forkers

jorismonnet

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.