lferry007 / LargeVis

Apache License 2.0
708 stars 168 forks source link

cosine distance support #15

Closed mglowacki100 closed 7 years ago

mglowacki100 commented 8 years ago

I think it would be great to have support for cosine distance as in largeVis R package: https://cran.r-project.org/web/packages/largeVis/vignettes/largeVis.html

mglowacki100 commented 7 years ago

An easy solution: LargeVis.h, LargeVis.cpp find "Euclidean" and replace it with "Angular". Next recompile and reinstall Largevis. Of course it would be better to have it as a parameter ;)