Algorithmic inspection for trustworthy ML models
Project description
Algorithmic inspection for trustworthy ML models
Getting started
How to start analysing a simple model (let's say you have trained a binary classifier on the German Credit Data):
from artifact import FixOutArtifact
from helper import FixOutHelper
fxo = FixOutHelper("Credit Risk Assessment (German bank)")
# Indicate the sensitive features
sensitive_features = [(19,0,"foreignworker"),
(18,1,"telephone"),
(8,2,"statussex")]
# Create a FixOut Artifact with your model and data
fxa = FixOutArtifact(model=model,
training_data=(X_train,y_train),
testing_data=[(X_test,y_test,"Test")],
features_name=features_name,
sensitive_features=sensitive_features,
dictionary=dic)
Then run the inspection
fxo.run(fxa)
Finally, you can access the generated dashboard at http://localhost:5000 ;)
You should be able to see an interface similar to the following
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fixout-0.1.24.tar.gz.
File metadata
- Download URL: fixout-0.1.24.tar.gz
- Upload date:
- Size: 153.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f529edd95f409061dd882149b90beeffea4ee252f4f946a177590d0dd55b8a5
|
|
| MD5 |
29c1f754df528f46c2de28d3120e6adb
|
|
| BLAKE2b-256 |
f7dc562925893251123cca321c96ccca64d68ef926f75158862ac6ae7c9e730a
|
File details
Details for the file fixout-0.1.24-py3-none-any.whl.
File metadata
- Download URL: fixout-0.1.24-py3-none-any.whl
- Upload date:
- Size: 158.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a4da8098cbe184d98ef1df37b89ee51187ab8c414aba8513b0d685b9d2a6de
|
|
| MD5 |
f245de774a1bcceecd2f608303b203f4
|
|
| BLAKE2b-256 |
fdf44c4578f70de6195276d035254a165e2629c602acdbb2af2145f44eee12ba
|