Skip to main content

Tools for analyzing and quantifying effects of counfounder variables on machine learning model predictions.

Project description

mlconfound

GitHub license GitHub release GitHub CI Documentation Status arXiv GitHub issues GitHub issues-closed Binder

Tools for analyzing and quantifying effects of counfounder variables on machine learning model predictions.

Install

pip install mlconfound

Usage

# y   : prediction target
# yhat: prediction
# c   : confounder

from mlconfound.stats import partial_confound_test

partial_confound_test(y, yhat, c)

Run the quickstart notebook in Binder: Binder

Read the docs for more details.

Documentation Documentation Status

https://mlconfound.readthedocs.io

Citation

T. Spisak, Statistical quantification of confounding bias in predictive modelling, preprint on arXiv:2111.00814, 2021.

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

mlconfound-0.21.0.tar.gz (22.7 kB view hashes)

Uploaded source

Built Distribution

mlconfound-0.21.0-py3-none-any.whl (23.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page