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 fixout.artifact import FixOutArtifact
from fixout.runner import FixOutRunner

fxo = FixOutRunner("Credit Risk Assessment (German Credit)") 

# Indicate the sensitive features
sensitive_features = ["foreignworker","telephone","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,"Testing")],
                      features_name=features_name,
                      sensitive_features=sensitive_features,
                      dictionary=dic)

Then run the inspection

fxo.run(fxa, show=True)

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.34.tar.gz (4.6 MB 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.34-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixout-0.1.34.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for fixout-0.1.34.tar.gz
Algorithm Hash digest
SHA256 2a772ab5c9db444e1351d45d4b401f65d2ae28640c424326ab089ff338f46504
MD5 bcfaea93e9a13619392ed8368b62d636
BLAKE2b-256 96dd474a88ad6119425467f84580b12f9c833353416367368e1cea95914ec4be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixout-0.1.34-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for fixout-0.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 0bda11a4d769807de1cda6c3a33ebe1a006e2a51fa6261c1d4a76c1e200501d6
MD5 3dc7747b755ae59564c1099b5dcf29a1
BLAKE2b-256 a1d317669d96c1d06052f7f900594c3b851df1a13a7800b89c6fd5576087076b

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