Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raamana/confounds
Conquering confounds and covariates: methods, library and guidance
https://github.com/raamana/confounds
biostatistics classification combat confound confounding covariates cross-validation deconfounding machine-learning neuroimaging neuroscience regression scikit-learn statistics
Last synced: about 2 months ago
JSON representation
Conquering confounds and covariates: methods, library and guidance
- Host: GitHub
- URL: https://github.com/raamana/confounds
- Owner: raamana
- License: apache-2.0
- Created: 2019-07-17T02:13:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-21T12:15:13.000Z (9 months ago)
- Last Synced: 2024-09-22T12:35:58.699Z (3 months ago)
- Topics: biostatistics, classification, combat, confound, confounding, covariates, cross-validation, deconfounding, machine-learning, neuroimaging, neuroscience, regression, scikit-learn, statistics
- Language: Python
- Homepage: https://raamana.github.io/confounds
- Size: 27.3 MB
- Stars: 38
- Watchers: 6
- Forks: 14
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
Conquering confounds and covariates in machine learning
------------------------------------------------------------.. image:: https://github.com/raamana/confounds/blob/master/confounds_card.jpg
.. image:: https://zenodo.org/badge/197298208.svg
:target: https://zenodo.org/badge/latestdoi/197298208.. image:: https://img.shields.io/pypi/v/confounds.svg
:target: https://pypi.python.org/pypi/confounds.. image:: https://img.shields.io/travis/raamana/confounds.svg
:target: https://travis-ci.org/raamana/confoundsNews
~~~~~~~~~~~~~~~~- **Hackathon folks**: Those coming here from the hackathon, please go here to learn some ideas for contribution: https://github.com/ohbm/hackathon2021/issues/34
- The previous slides for the OHBM Hackathon and Open Science Room are here: https://crossinvalidation.com/2020/03/04/conquering-confounds-and-covariates-in-machine-learning/
Vision / Goals
~~~~~~~~~~~~~~~The high-level goals of this package is to develop high-quality library to conquer confounds and covariates in ML applications. By conquering, we mean methods and tools to
1. visualize and establish the presence of confounds (e.g. quantifying confound-to-target relationships),
2. offer solutions to handle them appropriately via correction or removal etc, and
3. analyze the effect of the deconfounding methods in the processed data (e.g. ability to check if they worked at all, or if they introduced new or unwanted biases etc).Documentation
~~~~~~~~~~~~~~https://raamana.github.io/confounds
Methods
~~~~~~~~Available:
- Residualize (e.g. via regression)
- Augment (include confounds as predictors)
- Some utilsTo be added:
- Harmonize (correct batch effects via rescaling or normalization etc)
- Stratify (sub- or re-sampling procedures to minimize confounding)
- Full set of utilities (Goals 1 and 3)
- reweight (based on propensity scores as in IPW, or based on confounds)
- estimate propensity scoresIn a more schematic way:
.. image:: docs/schematic_method_impl_status.png
Resources
~~~~~~~~~
any useful resources; papers, presentations, lectures related to the problems of confounding can be found here https://github.com/raamana/confounds/blob/master/docs/references_confounds.rstCitation
~~~~~~~~~~~~~~If you found any parts of ``confounds`` to be useful in your research, directly or indirectly, **I'd appreciate if you could cite** the following:
- Pradeep Reddy Raamana (2020), "Conquering confounds and covariates in machine learning with the python library confounds", Version 0.1.1, Zenodo. http://doi.org/10.5281/zenodo.3701528
Contributors are most welcome.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Your contributions of all kinds will be greatly appreciated. Learn how to contribute to this repo `here `_.
All contributors making non-trivial contributions will be
- publicly and clearly acknowledged on the `authors page `_
- become an author on the [software] paper to be published when it's ready soon.