Coder Social home page Coder Social logo

flask-explainability-app's Introduction

Explainability Scoring System

This project is a web application that evaluates AI systems based on various criteria such as fairness, accountability, and transparency. The scores are visualized using a radial graph, and the data is stored in an SQLite database.

Features

  • Fairness Assessment: Evaluates AI systems based on demographic parity, equal opportunity, and absence of disparate impact.
  • Accountability Assessment: Scores AI systems on documentation practices, auditability, and compliance with ethical guidelines.
  • Transparency Assessment: Measures explainability, user interface design, and decision-making documentation.
  • Data Storage: Stores the assessment scores and generated graphs in an SQLite database.
  • Graph Visualization: Displays a radial graph representing the scores.

Technologies Used

  • Python: Programming language used for the backend.
  • Flask: Micro web framework for Python.
  • SQLite: Database for storing scores and graphs.
  • Plotly: Library for creating interactive graphs.
  • Bootstrap: Frontend framework for styling the web pages.
  • Heroku: Platform for deploying the web application.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/explainability-scoring-system.git
    cd explainability-scoring-system
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Initialize the database:

    python database_setup.py
  5. Run the application:

    python app.py
  6. Open your browser and visit:

    http://127.0.0.1:5000
    

Deployment

To deploy the application on Heroku, follow these steps:

  1. Login to Heroku:

    heroku login
  2. Create a new Heroku app:

    heroku create your-app-name
  3. Push the code to Heroku:

    git push heroku main
  4. Run database setup on Heroku:

    heroku run python database_setup.py
  5. Open the deployed app:

    heroku open

Usage

  1. Home Page: Enter the AI system title and scores for each criterion, then click "Calculate".
  2. View Results: Click "View Stored Scores" to see all stored scores and view individual score details and graphs.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, please contact [email protected].

flask-explainability-app's People

Contributors

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