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.
Metadata
Release files for mlconfound 0.21.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mlconfound-0.21.3.tar.gz | 22.7 kB | Without provenance | Details for mlconfound-0.21.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mlconfound-0.21.3-py3-none-any.whl | Python 3 | none | any | Details for mlconfound-0.21.3-py3-none-any.whl |
Total release size: 45.7 kB
Release files / mlconfound-0.21.3.tar.gz
| Download URL | mlconfound-0.21.3.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c692194fd6e50c1776129200cf92727c6153ecb3e4b3caaf54f871eb32e7cfed
|
|
BLAKE2b-256 checksum How to use checksums |
c8ec04483efdbcb0b508c5c7d9247600ab20bb9124e1f027f93410b122a355e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / mlconfound-0.21.3-py3-none-any.whl
| Download URL | mlconfound-0.21.3-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c04ddb8cd271a7024897cdf0128427d28b168f1ec166e130a47d5a68a838846
|
|
BLAKE2b-256 checksum How to use checksums |
cf11d4399523d7aef43eef31290907d104965d1e2ba24a526d4fcb75561f0c4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for mlconfound 0.21.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.