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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mlconfound-0.21.3.tar.gz.

File metadata

  • Download URL: mlconfound-0.21.3.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for mlconfound-0.21.3.tar.gz
Algorithm Hash digest
SHA256 c692194fd6e50c1776129200cf92727c6153ecb3e4b3caaf54f871eb32e7cfed
MD5 294b5b1e5bcfd57941b71e652d335988
BLAKE2b-256 c8ec04483efdbcb0b508c5c7d9247600ab20bb9124e1f027f93410b122a355e6

See more details on using hashes here.

File details

Details for the file mlconfound-0.21.3-py3-none-any.whl.

File metadata

  • Download URL: mlconfound-0.21.3-py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for mlconfound-0.21.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c04ddb8cd271a7024897cdf0128427d28b168f1ec166e130a47d5a68a838846
MD5 fc63bdea444b7da20ff76c6561987506
BLAKE2b-256 cf11d4399523d7aef43eef31290907d104965d1e2ba24a526d4fcb75561f0c4e

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