A statistical machine learning toolbox for estimating models, distributions, and functions with sample-specific parameters.
Project description
A statistical machine learning toolbox for estimating models, distributions, and functions with context-specific parameters.
Context-specific parameters are essential for:
- Finding hidden heterogeneity in data -- are all samples the same?
- Identifying context-specific predictors -- are there different reasons for outcomes?
- Domain adaptation -- can our learned models extrapolate to new contexts?
Install and Use Contextualized
pip install git+https://github.com/cnellington/Contextualized.git
Take a look at the main demo for a complete overview with code, or the easy demo for a quickstart with sklearn-style wrappers!
Quick Start
Build a Contextualized Model
from contextualized.easy import ContextualizedRegressor
model = ContextualizedRegressor()
model.fit(C, X, Y)
Predict Context-Specific Parameters
model.predict_params(C)
Contextualized Family
Context-dependent modeling is a universal problem, and every domain presents unique challenges and opportunities. Here are some layers that others have added on top of Contextualized. Feel free to add your own page(s) by sending a PR or request an improvement by creating an issue. See CONTRIBUTING.md for more information about the process of contributing to this project.
bio-contextualized.ml | Contextualized and analytical tools for modeling medical and biological heterogeneity |
Acknowledgements
ContextualizedML was originally implemented by Caleb Ellington (CMU) and Ben Lengerich (MIT).
Many people have helped. Check out ACKNOWLEDGEMENTS.md!
Related Publications and Pre-prints
- Automated Interpretable Discovery of Heterogeneous Treatment Effectiveness: A COVID-19 Case Study
- NOTMAD: Estimating Bayesian Networks with Sample-Specific Structures and Parameters
- Discriminative Subtyping of Lung Cancers from Histopathology Images via Contextual Deep Learning
- Personalized Survival Prediction with Contextual Explanation Networks
- Contextual Explanation Networks
Videos
Contact Us
Please get in touch with any questions, feature requests, or applications.
Project details
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
Hashes for contextualized_ml-0.2.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea087d10cea2438ef3d468f5797591c3611bdad340b99754565e5fd4eae83e7c |
|
MD5 | 6788d9adef6110e4405a018aa42eb207 |
|
BLAKE2b-256 | aedb6425482527c7a7a9cc8ae4bacd4e2e2967bd2f911096144284cc0fee3a48 |
Hashes for contextualized_ml-0.2.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eccbc57add7f70e74a32e90a2b62e67ddfa8e04f111e39b139ff0c37c0b3eb13 |
|
MD5 | 2870f4e9990cdbe69bdcb1795c404503 |
|
BLAKE2b-256 | 3e7758dd533ebcd0ae31a6b452f974ac9a9cb1cf36e8637cc96b4559849379ca |