Tools for analyzing and quantifying effects of counfounder variables on machine learning model predictions.
Project description
mlconfound
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:
Read the docs for more details.
Documentation 
https://mlconfound.readthedocs.io
Citation
T. Spisak, Statistical quantification of confounding bias in predictive modelling, preprint on arXiv:2111.00814, 2021.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c692194fd6e50c1776129200cf92727c6153ecb3e4b3caaf54f871eb32e7cfed
|
|
| MD5 |
294b5b1e5bcfd57941b71e652d335988
|
|
| BLAKE2b-256 |
c8ec04483efdbcb0b508c5c7d9247600ab20bb9124e1f027f93410b122a355e6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c04ddb8cd271a7024897cdf0128427d28b168f1ec166e130a47d5a68a838846
|
|
| MD5 |
fc63bdea444b7da20ff76c6561987506
|
|
| BLAKE2b-256 |
cf11d4399523d7aef43eef31290907d104965d1e2ba24a526d4fcb75561f0c4e
|