theislab / multimil

Multimodal weakly supervised learning to identify disease-specific changes in single-cell atlases
https://multimil.rtfd.io/
BSD 3-Clause "New" or "Revised" License
18 stars 3 forks source link

Add composition-aware sampler #66

Closed alitinet closed 1 year ago

alitinet commented 1 year ago

Add Sampler that takes into account cell type composition and samples in accordance with the pre-defined average (per patient/per dataset?).

alitinet commented 1 year ago

Decided to stratify the dataset (so for each patient the cell type composition is preserved) before feeding it to the model instead of implementing a new sampler, closing.