Skip to main content

No project description provided

Project description

Python package Python 3.6+

smclarify

Amazon Sagemaker Clarify

Bias detection and mitigation for datasets and models.

Terminology

Facet

A facet is column or feature that will be used to measure bias against. A facet can have value(s) that designates that sample as "sensitive".

Label

The label is a column or feature which is the target for training a machine learning model. The label can have value(s) that designates that sample as having a "positive" outcome.

Bias measure

A bias measure is a function that returns a bias metric.

Bias metric

A bias metric is a numerical value indicating the level of bias detected as determined by a particular bias measure.

Bias report

A collection of bias metrics for a given dataset or a combination of a dataset and model.

Development

virtualenv -p(which python3) venv
source venv/bin/activate.fish
pip install -e .[test]
pytest --pspec
pre-commit install && pre-commit run --all-files

Always run pre-commit run --all-files before commit.

For running unit tests, do ./test.sh or pytest --pspec. If you are using PyCharm, and cannot see the green run button next to the tests, open Preferences -> Tools -> Python Integrated tools, and set default test runner to pytest.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

smclarify-0.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file smclarify-0.1-py3-none-any.whl.

File metadata

  • Download URL: smclarify-0.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.9

File hashes

Hashes for smclarify-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05dee8b967158a252a1c12a936792411cb9a8440fab1042cb2bfe677fc8725cb
MD5 3cbdef573e6f8aa7bf5a0bfd8cb8569d
BLAKE2b-256 408987366d3ffa6a5fc84b34c1b1ed7ac5fb5bd035ccc5bb5a1ef9bb127a40e0

See more details on using hashes here.

Supported by

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