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

[Statistics question]: UMAP 4 #38

Closed
haesleinhuepf opened this issue Oct 21, 2024 · 1 comment
Closed

[Statistics question]: UMAP 4 #38

haesleinhuepf opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@haesleinhuepf
Copy link
Owner

Question:

Create a synthetic dataset of measurements of cells from microscopy images (intensity, aspect ratio, perimeter, elongation) as pandas dataframe. Then, determine a UMAP from these parameters, write the UMAP parameters back to the dataframe and visualize the UMAP using seaborn. Save the plot as png before showing it.

Python Tools

  • List of Python libraries we should use for answering this:
    • numpy
    • scipy
    • pandas
    • seaborn
    • umap-learn
    • scikit-learn

Note: Your images and the text you enter here may be sent to OpenAI's online service where we use a large language model to answer your request.
Do not upload any data you cannot share openly. Also do not enter any private or secret information. By submitting this Github issue, you confirm that you understand these conditions.

git-bob try to do this

@haesleinhuepf haesleinhuepf self-assigned this Oct 21, 2024
Copy link
Contributor

This message was generated by git-bob (version: 0.11.0-dev, model: gpt-4o-2024-08-06, log), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.

To address issue #38, I created a Jupyter Notebook named "umap_analysis.ipynb" in the haesleinhuepf/git-bob-playground repository. The notebook synthesizes a dataset of cell measurements (intensity, aspect ratio, perimeter, elongation) using pandas and applies UMAP for dimensionality reduction, incorporating numpy, scipy, pandas, seaborn, umap-learn, and scikit-learn. After computing the UMAP, the results were added back to the DataFrame, and a visualization was generated using seaborn. The resultant plot was saved as "umap_projection.png".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant