Skip to main content

AffectLog Widgets

This repository contains the affectlog_widgets library, which is used for creating interactive, visual Trustworthy AI tools. This project provides a set of widgets for model assessment, fairness analysis, error detection, and more, built on top of machine learning frameworks.

Requirements for Development

To contribute to affectlog_widgets, make sure to install the following dependencies.

Testing Dependencies

For running tests with code coverage and mocking, use the following:

pytest==7.0.1
pytest-cov
pytest-mock==3.6.1

Parser Dependencies

For parsing requirements, use:

requirements-parser==0.2.0

Package Building

Ensure you have the necessary tools for building the package:

wheel

Machine Learning & Fairness Libraries

Install the following libraries to enable machine learning and fairness evaluation tools:

fairlearn==0.7.0
ml-wrappers>=0.4.0
sktime
pmdarima

Note: For Windows users running Python 3.7, add the following fix for joblib compatibility:

joblib<1.3.0; python_version <= '3.7' and sys_platform == 'win32'

Notebook Testing

To test notebooks and perform notebook validation, install:

nbformat
papermill
scrapbook
jupyter
nbval

Documentation Dependencies

For generating documentation, install the following:

docutils<=0.19
sphinx==5.0.2
sphinx-gallery==0.10.0
pydata-sphinx-theme==0.7.2

Setting up the Development Environment

Follow these steps to set up your local development environment:

  1. Clone the repository:

    git clone <repository_url>
    cd affectlog_widgets
    
  2. Install Dependencies: You can install all dependencies via pip:

    pip install -r requirements.txt
    
  3. Run Tests: To ensure everything is working, run the tests:

    pytest
    

Local Installation

For local development, ensure that trustworthyai is available in your project. You can use the relative path for local development:

../trustworthyai/.

Add this path when running your local environment so the necessary modules can be accessed.

Contributing

If you're interested in contributing, please create a feature branch from main, make your changes, and open a pull request. Ensure that all tests pass and documentation is updated where necessary.

License

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

Metadata

Release files for affectlog-widgets 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for affectlog-widgets 0.0.6
File Size Uploaded
affectlog_widgets-0.0.6.tar.gz 30.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for affectlog-widgets 0.0.6
File Interpreter ABI Platform
affectlog_widgets-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 66.3 kB

Release files / affectlog_widgets-0.0.6.tar.gz

Download URL affectlog_widgets-0.0.6.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5badeb2722639b6b10c86da031441b501b9d73c643cdbc82f67431cc0ae1f8e8
BLAKE2b-256 checksum
How to use checksums
f649f781d41a4d04f251f867d390d541a96593a489b7d0723a2101c8885a8663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / affectlog_widgets-0.0.6-py3-none-any.whl

Download URL affectlog_widgets-0.0.6-py3-none-any.whl
Size 35.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e41e45384875e8bc45e160bfac40177511bfba555cdd3135e13154f73067e3c
BLAKE2b-256 checksum
How to use checksums
d27671553c6f6761bb35b789a6a0ba8cb674eb493379a09d06a98db46858ebee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page