smart subsampling / sketching
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 779
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 27
Description
What kind of feature would you like to request?
New analysis tool: A simple analysis tool you have been using and are missing in sc.tools?
Please describe your wishes
I'm currently implementing a function that takes in an anndata and then subsamples a given representation using https://github.com/jmschrei/apricot. This generally serves the purpose of semi-optimally picking a reduced number of points that's still representative of the latent space.
Is this sth within the scope of scanpy? When it's done it wouldn't be too much effort to polish it up for a PR. The dependency load seems fairly low.
methods
- Kernel Herding: https://github.com/CompCy-lab/SketchKH
- Geometric Sketching: https://github.com/brianhie/geosketch
- misc (scikit imbalanced-learn): https://imbalanced-learn.org/stable/index.html
- apricot: https://dl.acm.org/doi/pdf/10.1145/3388440.3412409
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the sc.tools analysis-tool area and the proposed anndata subsampling use case. Compare the listed approaches, including apricot, Kernel Herding, Geometric Sketching, and imbalanced-learn, before determining whether one belongs in Scanpy. Done would require an agreed scope and a polished PR for a representative latent-space subsampling tool.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100