Skip to content

filipepcampos/case-based-explanations-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Case-based Explanations Demo

A website which demonstrates how case-based explanations help explain the rationale behind Machine Learning classifiers' decisions.

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. License

About The Project

Product Name Screen Shot

(back to top)

Built With

This project was built using Next.js for the frontend which communicates with an API backend powered by FastAPI. The model was trained using PyTorch and the PyTorch Lightning framework. We deploy the website on Azure Cloud through the use of Terraform scripts.

Infrastructure Diagram: Infrastructure

(back to top)

Getting Started

Interested in running or modifying this project? Here's an overview of how to get the project up and running.

Azure Cloud

This project was developed with Azure deployment in mind. The infrastructure consists of two main components, storage and container-apps, which are deployed separately using Terraform. For more detailed instructions refer to the README.md file within said directory.

Local

Docker

The simplest option to run locally is to use the prebuilt docker images published on Docker Hub for both the frontend and api. Simply run:

docker -p 80:80 run filipepcampos/api
docker -p 3000:3000 run filipepcampos/frontend

Local Development

Run both the Nextjs Frontend and FastAPI Backend according to the readme of their respective directories.

(back to top)

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

(back to top)