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

Error when load similarity matrix #62

Open
renxwise opened this issue Dec 15, 2018 · 2 comments
Open

Error when load similarity matrix #62

renxwise opened this issue Dec 15, 2018 · 2 comments

Comments

@renxwise
Copy link

The speed of FIt-SNE is amazing. Can FIt-SNE accept precomputed similarity matrix? I used the Matlab wrapper and inputted a precomputed similarity matrix with the "load" option, but errors were reported by showing that cannot find the file.

@linqiaozhi
Copy link
Member

Wow, I'm so sorry that I missed this! I got behind because of the holidays.

The load option only loads a matrix in the format that is saved by the software iteslf. It is designed so that you don't have to recompute the affinity matrix every time you run it, if you run it multiple times on the same data. It's not really designed for users to give their own matrix.

But this would be a great feature to implement. Note that it is already implemented in a branch of an fork from a while ago, but I did not have a chance to incorporate it into the main repository...and there have been some updates to FIt-SNE since then. See here for an example of how to run it on that older version. Note that the code will still symmetrize and normalize the user-specified P to be a Markov matrix.

@sg-s
Copy link
Contributor

sg-s commented Feb 12, 2020

@renxwise I think your issue is solved here:

#82

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

No branches or pull requests

3 participants