equiflow is a package to generate equity-focused cohort selection flow diagrams.
Project description
equiflow
Under construction!
equiflow is a package designed to generate "Equity-focused Cohort Selection Flow Diagrams". We hope to facilitate research, increase its reproducibility, and improve the transparency of the process of cohort curation in machine learning studies.
Vision
equiflow will provide tabular and visual representations of inclusion and exclusion criteria applied to a clinical dataset. Each patient exclusion step can depict the cohort composition across demographics and outcomes, to interrogate potential sampling selection bias.
This package is designed to enhance the transparency and reproducibility of research in the medical machine learning field. It complements other tools like tableone, which is used for generating summary statistics for patient populations.
Citation
The concept was first introuced in our position paper.
Ellen JG, Matos J, Viola M, et al. Participant flow diagrams for health equity in AI. J Biomed Inform. 2024;152:104631. https://doi.org/10.1016/j.jbi.2024.104631
Motivation
Selection bias can arise through many aspects of a study, including recruitment, inclusion/exclusion criteria, input-level exclusion and outcome-level exclusion, and often reflects the underrepresentation of populations historically disadvantaged in medical research. The effects of selection bias can be further amplified when non-representative samples are used in artificial intelligence (AI) and machine learning (ML) applications to construct clinical algorithms. Building on the “Data Cards” initiative for transparency in AI research, we advocate for the addition of a participant flow diagram for AI studies detailing relevant sociodemographic and/or clinical characteristics of excluded participants across study phases, with the goal of identifying potential algorithmic biases before their clinical implementation. We include both a model for this flow diagram as well as a brief case study explaining how it could be implemented in practice. Through standardized reporting of participant flow diagrams, we aim to better identify potential inequities embedded in AI applications, facilitating more reliable and equitable clinical algorithms.
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
File details
Details for the file equiflow-0.1.1.tar.gz
.
File metadata
- Download URL: equiflow-0.1.1.tar.gz
- Upload date:
- Size: 141.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3ac5be7df475a55abe30f69d5038579c2c2c473d74637d4e9281c74e4ab4f5 |
|
MD5 | 3c69cbc91b65ad43629005870d54f087 |
|
BLAKE2b-256 | d0892edff3925b2ee8574f3e13b423cc4023c096150e1fa8cb69314d4158530f |
File details
Details for the file equiflow-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: equiflow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285d90489759ae82fb335fa95a96471d34d4dbcfa22c9a6b59b3199336cdd136 |
|
MD5 | 0e4ca057c5b973a16a7c565677563e7a |
|
BLAKE2b-256 | 02f4de05360ed2c39cc51374e7ab97eaed837cb8eb4a4a4a81a4e6f1469c7afc |