lmcinnes / pynndescent

A Python nearest neighbor descent for approximate nearest neighbors
BSD 2-Clause "Simplified" License
888 stars 105 forks source link

Jensen-Shannon divergence #134

Closed glevv closed 3 years ago

glevv commented 3 years ago

Is it possible to add JSD as one of the metrics?

lmcinnes commented 3 years ago

Done. It should be available (i the current master branch) as "jensen_shannon". I also added a Symmetric KL divergence as I have also seen people use that. Thanks for the suggestion.

glevv commented 3 years ago

Thank you very much!