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

fixout = FixOutHelper("Credit Risk Assessment") 

# 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)],
                     features_name=features_name,
                     sensitive_features=sensitive_features,
                     dictionary=dic)

Then run the inspection

fixout.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.22.tar.gz (150.4 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.22-py3-none-any.whl (155.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fixout-0.1.22.tar.gz
  • Upload date:
  • Size: 150.4 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.22.tar.gz
Algorithm Hash digest
SHA256 0b82eafcb7d40072f72e00c20844eba7086696f3c36d5218b46ec179d6320a43
MD5 c9b5cd75996bb5faf79ac975a0e72052
BLAKE2b-256 1352033343cbaef2b4017962335bd66b7e1ea5c7d785d7f9eb429546dae5b170

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fixout-0.1.22-py3-none-any.whl
  • Upload date:
  • Size: 155.5 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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 eb3263364d63bbbebbb5fef55e8758046c759524120a40d497f4c7a86bc95ed7
MD5 f2ef49c1ef3a38088dd0792c36fdf415
BLAKE2b-256 61e6297ce3f2775b0b685e33f1422dd827419bdc39cacdb9e25e4ab54f97fc4c

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