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

How to find the quantitative evaluation of density preservation? #10

Closed
Jianlan0816 opened this issue Mar 17, 2022 · 2 comments
Closed

Comments

@Jianlan0816
Copy link

I read the paper and wondering how to compute the correlation between the log local radii in the original dataset. Could you let me know which file descripts it?

@anashwin
Copy link
Collaborator

Hi! If you initialize the densMAP or denSNE Python wrapper with the final_dens=True option, then the output of fit_transform will be a tuple of three numpy arrays. The first is the embedding; the second contains the log local radii of the original dataset; and the third contains the log local radii in the embedding.

You can then calculate the correlation between the second and third arrays to get that correlation.

Let me know if that helps!

@Jianlan0816
Copy link
Author

Thanks so much!

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

2 participants