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.3.tar.gz (22.7 kB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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