Skip to main content

Interactive widget and toolkit for slice discovery

Project description

Divisi - Interactive Slice Finding

Demo Quickstart

Clone the repository, then optionally create a virtual environment with Python >3.7 to run the demo.

Install dependencies by cd'ing into the repo and running:

pip install -e .

Install Jupyter Notebook or Jupyter Lab if not already installed. Then start a Jupyter server. The example_data/example_adult.ipynb notebook shows how to use the slice finding widget.

Running in Development Mode

To develop the frontend, make sure you have an up-to-date version of NodeJS in your terminal, then run:

cd client
npm install
vite

The vite command starts a live hot-reload server for the frontend. Then, when you initialize the SliceFinderWidget, pass the dev=True keyword argument to use the live server. (Make sure that you don't have anything else running on port 5173 while you do this.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

divisi_toolkit-0.1.0.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

divisi_toolkit-0.1.0-py3-none-any.whl (258.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page