pavlin-policar / openTSNE

Extensible, parallel implementations of t-SNE
https://opentsne.rtfd.io
BSD 3-Clause "New" or "Revised" License
1.45k stars 158 forks source link

Issue with when using custom metric #149

Closed jdtuck closed 3 years ago

jdtuck commented 3 years ago

When I set metric to custom callable function I get the following error, image

Any thoughts?

dkobak commented 3 years ago

Yeah, you need the latest version of openTSNE which is not on conda yet. If you install current openTSNE master from Github, you won't have this problem. You can probably also replace the nearest_neighbors.py in your installation by the file from Github.

jdtuck commented 3 years ago

Okay thanks, will install from source now

jdtuck commented 3 years ago

Thanks worked,