Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional dimensionality reduction methods #20

Open
enjalot opened this issue Feb 21, 2024 · 1 comment
Open

Add additional dimensionality reduction methods #20

enjalot opened this issue Feb 21, 2024 · 1 comment
Labels
enhancement New feature or request python
Milestone

Comments

@enjalot
Copy link
Owner

enjalot commented Feb 21, 2024

It would be interesting to be able to swap PHATE, t-SNE or even PCA for UMAP for dimensionality reduction.

I'm a big believer in UMAP being the best dimensionality reduction algorithm, but there are valid cases for other approaches (even if its just to see for yourself that UMAP is the best 😆 )

I'm imagining step 2 becomes "Projection" instead of "UMAP" and then there is a toggle to switch between umap, PCA, tsne and phate.
The Setup UI would then need to show slightly different parameters.

I'm thinking this would be implemented as a new phater.py script similar to umapper.py that does PHATE and outputs phate-001.parquet etc.
Then when you cluster you could pass in either a umap-001 or phate-001. Perhaps renaming the umaps folder to projections and allowing either umap-* or phate-* would be the way to go, as the outputs will be essentially identical, but recording the inputs will be important.
This would also mean having references to umap_id in cluster-.json and scope-.json be updated to projection_id

@enjalot enjalot added enhancement New feature or request python labels Feb 21, 2024
@enjalot enjalot changed the title PHATE dimensionality reduction Add more dimensionality reduction methods Sep 20, 2024
@enjalot enjalot added this to the 2.0 milestone Sep 20, 2024
@enjalot enjalot changed the title Add more dimensionality reduction methods Add additional dimensionality reduction methods Sep 20, 2024
@enjalot
Copy link
Owner Author

enjalot commented Oct 9, 2024

Another one to look into: https://github.com/scikit-tda/kepler-mapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python
Projects
None yet
Development

No branches or pull requests

1 participant