SDK API to explain models, generate counterfactual examples, analyze causal effects and analyze errors in Machine Learning models.
Project description
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 modelcounterfactuals.add()
computes counterfactualserror_analysis.add()
runs error analysiscausal.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file al360_trustworthyai-0.0.2.tar.gz
.
File metadata
- Download URL: al360_trustworthyai-0.0.2.tar.gz
- Upload date:
- Size: 113.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b625b84c637fbb6f466b8d2e2aa681c589bf19211ed06b403d23d4d2c9cecc0 |
|
MD5 | 1097b5f5fd6eb0d6da45987ee3e18781 |
|
BLAKE2b-256 | 7513076e206fc294d37514c5612371ce744ec7184fea08c857d33458ccfa909d |
File details
Details for the file al360_trustworthyai-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: al360_trustworthyai-0.0.2-py3-none-any.whl
- Upload date:
- Size: 155.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 967729b00ffc01a23b7b428e96497de6870bf40199af8fea8ead68bbd0c6197c |
|
MD5 | a180c2970e0a6eae04e04dab1273bf38 |
|
BLAKE2b-256 | 424706886604334f0470b8511fcc950b25debb606af3d34f0b0e8e96c4196adf |