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 properly pass the perplexity_list parameter? #77

Closed
davisidarta opened this issue Jul 30, 2019 · 1 comment
Closed

How to properly pass the perplexity_list parameter? #77

davisidarta opened this issue Jul 30, 2019 · 1 comment

Comments

@davisidarta
Copy link

Hi there! Thank you for this awesome implementation of tSNE!

I would like to know how to use the perplexity_list parameter, since there is no further documentation on it. Is it possible to get multiple perplexities for the same tSNE plot? If so, does the order of the values in the list represent anything to the algorithm?

@dkobak
Copy link
Collaborator

dkobak commented Jul 30, 2019

Hi, thanks for the interest. I will reply because I implemented this functionality.

At least the Python wrapper provides the following documentation:

perplexity_list: list
        A list of perplexities to used as a perplexity combination. Input affinities are computed with each
        perplexity on the list and then averaged. Default is None.

The order of the values in the list does not matter.

You can find a usage example in the example Python notebook: https://github.com/KlugerLab/FIt-SNE/blob/master/examples/test.ipynb

See this preprint for the description of what exactly "perplexity combination" means, and further references: https://www.biorxiv.org/content/10.1101/453449v2

I'm closing this issue; feel free to reopen if this does not answer your question.

@dkobak dkobak closed this as completed Jul 30, 2019
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