Closed jlmelville closed 2 years ago
Hey, I think this is currently the only approach that would work. Your dummy class is actually included here, and I think it has already been released (it's been a while since I looked at this).
It's a convoluted solution, I know, but currently the only supported one. I need to return to this and think about how I would allow something like the standard metric="precomputed"
without cluttering the API further.
Oh yes looks like I missed the in-built precomputed class. Works for me.
Although I am sure you are not looking for API suggestions, maybe you could allow the neighbors
parameter on the TSNE
constructor to take a tuple containing the indices and distances and then either create the affinities via the perplexity parameter, or use the Uniform
version if the perplexity=None
?
Anyway, thank you for the help.
Hello, is there a way to use k-nearest neighbors data created externally? My current strategy is to create a dummy class of the form:
and use it like:
This seems to work perfectly well, just wondered if I am missing a more obvious approach.