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.25.tar.gz (153.0 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.25-py3-none-any.whl (158.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixout-0.1.25.tar.gz
  • Upload date:
  • Size: 153.0 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.25.tar.gz
Algorithm Hash digest
SHA256 ba77dd8cce967c621ce70314e13e3527e563cb4a9de5348ba50f88f9ee473981
MD5 8127038025d5d71e197aa7d1b66e40e1
BLAKE2b-256 d89763670b93b06a883044c8b101d2683f26ccf17c4d8c196c6c46131f50c2e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixout-0.1.25-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

Hashes for fixout-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 559e2332c258c66b4ad791454f19e8e37769933c5fde8d6933cf6d713ca8d975
MD5 1d11d32b3bb024823576601860ac5986
BLAKE2b-256 92fbd4cdbeb0d83e3c040cffb8c3c7db4205720cee02629a8d3be6b8d2f6ad4f

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