umap icon indicating copy to clipboard operation
umap copied to clipboard

how to access umap.UMAP().fit

Open spagliarini opened this issue 4 years ago • 1 comments

I am using umap to plot labeled data. In particular, I am using umap.UMAP().fit, and I would like to access the coordinates of the points I plot (using umap.plot.points). How can I do so?

Thank you to anyone that can help me with this.

spagliarini avatar Oct 28 '21 22:10 spagliarini

The UMAP class has an attribute embedding_ that contains the relevant coordinates of the points.

On Thu, Oct 28, 2021 at 6:37 PM Silvia Pagliarini @.***> wrote:

I am using umap to plot labeled data. In particular, I am using umap.UMAP().fit, and I would like to access the coordinates of the points I plot (using umap.plot.points). How can I do so?

Thank you to anyone that can help me with this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lmcinnes/umap/issues/796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3IUBKB4GKS2G4YW3TXCLLUJHGDPANCNFSM5G567CCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

lmcinnes avatar Oct 28 '21 23:10 lmcinnes