Skip to content

The xAI methods (LIME, SHAP, Occlusion Sensivity) are provided as microservices which is accessible by FastAPI (REST API).

Notifications You must be signed in to change notification settings

mobile-cloud-computing/spatial-xAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xAI Service

The xAI methods (LIME, SHAP, Occlusion Sensivity) are provided as microservices which is accessible by FastAPI (REST API).

Prerequisites

  • Python 3.8.10
  • Docker installed if you wish to containerize the application

Installation

Clone the repository to your local machine:

git clone https://github.com/mobile-cloud-computing/spatial-xAI.git

Create and activate environment Variable:

python3 -m venv venv
source venv/bin/activate

Change directory to the cloned repository:

cd xAI

Install python requirements:

pip install -r requirements.txt

Run the application locally

python3 main.py

Deploy using Docker

Go to the 'xai_docker' folder and run the command below

sudo docker-compose up --build

About

The xAI methods (LIME, SHAP, Occlusion Sensivity) are provided as microservices which is accessible by FastAPI (REST API).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published