tdebatty / java-LSH

A Java implementation of Locality Sensitive Hashing (LSH)
Other
295 stars 84 forks source link

Another similarity measure #17

Closed mohamadian closed 6 years ago

mohamadian commented 6 years ago

Hello, Thank you for your grate library. I have a question. How can I change the similarity measure? I want to use Euclidean distance instead of Cosine similarity, how can I do it? I mean does it possible to change your code and use another similarity measure instead of Cosine similarity?

Thank you in advance

tdebatty commented 6 years ago

Hi, Thank you for your interest! LSH functions do exist for Euclidean distance, but I currently have no time to make an implementation...

Le dim. 26 nov. 2017 à 14:13, Mahdi Mohamadian notifications@github.com a écrit :

Hello, Thank you for your grate library. I have a question. How can I change the similarity measure? I want to use Euclidean distance instead of Cosine similarity, how can I do it? I mean does it possible to change your code and use another similarity measure instead of Cosine similarity?

Thank you in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tdebatty/java-LSH/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1SDLlEXOtUegE0uc6J11bWVqLAF54oks5s6WPugaJpZM4QqxTK .