Coder Social home page Coder Social logo

trellixvulnteam / compas-racial-bias_71to Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aoyingxue/compas-racial-bias

0.0 0.0 0.0 154.9 MB

Microsoft Azure Hackathon: COMPAS Racial Bias and Score Prediction (4th place; Honorable Mentions on Microsoft Blog)

Home Page: https://share.streamlit.io/aoyingxue/compas-racial-bias/main/app.py

License: MIT License

Shell 0.03% JavaScript 4.27% C++ 4.37% Python 86.09% C 0.74% Fortran 0.01% CSS 1.31% HTML 0.51% Smarty 0.01% Batchfile 0.01% Jupyter Notebook 0.83% Dockerfile 0.01% Less 0.01% Jinja 0.12% Cython 1.71%

compas-racial-bias_71to's Introduction

About COMPAS Racial Bias

Azure Hackathon: COMPAS Racial Bias and Predict Scores

Packages and Platforms

  1. Python 3.5
  2. Streamlit for providing the interactive web app template.
  3. Google Colab Notebooks for building the models and predicting the scores.
  4. Flask and Microsoft Azure to deploy the model and website.

Installation

Create virtual environment

If running on Python 3, the venv is built-in: python3 -m venv env and then activate the environment: source env/bin/activate Install dependencies (details shown below). pip3 install -r requirements.txt

Run streamlit app

streamlit run app.py

Dependencies

Add or remove dependencies

We use "pipreqs" to generate requirements.txt which contains the required requirements for the deployment.

Add/remove dependencies at any point by updating requirements.txt (Python deps) or packages.txt (Debian deps) and doing a git push to your remote repo. This will cause Streamlit to detect there was a change in its dependencies, which will automatically trigger its installation.

It is best practice to pin Streamlit version in requirements.txt. Otherwise, the version may be auto-upgraded at any point without your knowledge, which could lead to undesired results (e.g. when we deprecate a feature in Streamlit).

compas-racial-bias_71to's People

Contributors

aoyingxue avatar patchtester avatar trellixvulnteam 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.