fastknn icon indicating copy to clipboard operation
fastknn copied to clipboard

Custom distance

Open mvt-oviedo opened this issue 4 years ago • 2 comments

Hi,

The package is very interesting. I was wondering if I can use a custom distance or custom matrix distance.

Thanks, and good job,

mvt-oviedo avatar Apr 22 '21 17:04 mvt-oviedo

Hi Manuel,

Thank you for your feedback.

Unfortunately not.. Since fastknn uses the RANN package to find nearest neighbors efficiently, it depends on distances implemented in the RANN package. So far, only Euclidean distance is available :(

I strongly agree that other distance metrics would be very useful. But I have no prediction to add them.. Sorry!

David Pinto Master's Degree in Computational Intelligence Federal University of Minas Gerais (UFMG) My Website https://sites.google.com/site/davidpintohomepage/home

Belo Horizonte, Minas Gerais, Brazil https://www.facebook.com/david.pinto.eng.aut https://twitter.com/davidengaut https://www.linkedin.com/in/davidpintoml

On Thu, Apr 22, 2021 at 2:19 PM Manuel Villacorta Tilve < @.***> wrote:

Hi,

The package is very interesting. I was wondering if I can use a custom distance or custom matrix distance.

Thanks, and good job,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davpinto/fastknn/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZXFDC4YRYZ6SRG3T3OTZDTKBLBTANCNFSM43M535RA .

davpinto avatar Apr 22 '21 17:04 davpinto

Many thanks,

mvt-oviedo avatar Apr 22 '21 18:04 mvt-oviedo