Skip to main content

Algorithmic inspection for trustworthy ML models

Project description

fixout_logo

Algorithmic inspection for trustworthy ML models

License

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

FixOut interface

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

fixout-0.1.23.tar.gz (152.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fixout-0.1.23-py3-none-any.whl (157.6 kB view details)

Uploaded Python 3

File details

Details for the file fixout-0.1.23.tar.gz.

File metadata

  • Download URL: fixout-0.1.23.tar.gz
  • Upload date:
  • Size: 152.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fixout-0.1.23.tar.gz
Algorithm Hash digest
SHA256 168949f7a3ce53fb69f84e894c263191779b05e677f5f66ef5ef2b028d72bce8
MD5 74f8f2cbe2fecfbfef8c713921e45912
BLAKE2b-256 1c3348fe03cc34591d5f12e05b396b6927afbb570e6fcd7f10889dd004335c9f

See more details on using hashes here.

File details

Details for the file fixout-0.1.23-py3-none-any.whl.

File metadata

  • Download URL: fixout-0.1.23-py3-none-any.whl
  • Upload date:
  • Size: 157.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fixout-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 eb011e9c32a1680b27e44ee1167d64477c4b8d89adddefb5eb09a1c99383cb3c
MD5 eb8ebb3fdab0f883b3ca0ecc5e218cd7
BLAKE2b-256 5a39f208502254ed212497dbfc9b1bf89ed7253ee83ffe6db96b37e767d2e26a

See more details on using hashes here.

Supported by

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