Skip to content

Latest commit

 

History

History
executable file
·
37 lines (28 loc) · 1.96 KB

README.md

File metadata and controls

executable file
·
37 lines (28 loc) · 1.96 KB

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 machine learning models.” GigaScience 11 (2022) https://doi.org/10.1093/gigascience/giac082. Preprint on arXiv:2111.00814, 2021.