Skip to main content

AL360° Trustworthy AI Model Analysis SDK for Python

This package has been tested with Python 3.7, 3.8, 3.9 and 3.10

The AL360° Trustworthy AI Model Analysis SDK enables users to analyze their machine learning models in one API. Users will be able to analyze errors, explain the most important features, compute counterfactuals and run causal analysis using a single API.

Highlights of the package include:

  • explainer.add() explains the model
  • counterfactuals.add() computes counterfactuals
  • error_analysis.add() runs error analysis
  • causal.add() runs causal analysis

Supported scenarios, models and datasets

al360_trustworthyai supports computation of AL360° Trustworthy AI insights for scikit-learn models that are trained on pandas.DataFrame. The al360_trustworthyai accept both models and pipelines as input as long as the model or pipeline implements a predict or predict_proba function that conforms to the scikit-learn convention. If not compatible, you can wrap your model's prediction function into a wrapper class that transforms the output into the format that is supported (predict or predict_proba of scikit-learn), and pass that wrapper class to modules in al360_trustworthyai.

Currently, we support datasets having numerical and categorical features. The following table provides the scenarios supported for each of the four responsible AI insights:-

RAI insight Binary classification Multi-class classification Multilabel classification Regression Timeseries forecasting Categorical features Text features Image Features Recommender Systems Reinforcement Learning
Explainability Yes Yes No Yes No Yes No No No No
Error Analysis Yes Yes No Yes No Yes No No No No
Causal Analysis Yes No No Yes No Yes (max 5 features due to expensiveness) No No No No
Counterfactual Yes Yes No Yes No Yes No No No No

The source code can be found here: https://github.com/affectlog360/affectlog360/tree/main/al360_trustworthyai

Metadata

Release files for al360-trustworthyai 0.0.2

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

Source distribution (sdist)

Source distribution for al360-trustworthyai 0.0.2
File Size Uploaded
al360_trustworthyai-0.0.2.tar.gz 113.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for al360-trustworthyai 0.0.2
File Interpreter ABI Platform
al360_trustworthyai-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 268.8 kB

Release files / al360_trustworthyai-0.0.2.tar.gz

Download URL al360_trustworthyai-0.0.2.tar.gz
Size 113.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7b625b84c637fbb6f466b8d2e2aa681c589bf19211ed06b403d23d4d2c9cecc0
BLAKE2b-256 checksum
How to use checksums
7513076e206fc294d37514c5612371ce744ec7184fea08c857d33458ccfa909d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release files / al360_trustworthyai-0.0.2-py3-none-any.whl

Download URL al360_trustworthyai-0.0.2-py3-none-any.whl
Size 155.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
967729b00ffc01a23b7b428e96497de6870bf40199af8fea8ead68bbd0c6197c
BLAKE2b-256 checksum
How to use checksums
424706886604334f0470b8511fcc950b25debb606af3d34f0b0e8e96c4196adf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

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