DmitryUlyanov / Multicore-TSNE

Parallel t-SNE implementation with Python and Torch wrappers.
Other
1.89k stars 228 forks source link

Puzzle about the speed #48

Open bigheiniu opened 6 years ago

bigheiniu commented 6 years ago

Do you just implement this algorithm with the help of openMP? Have you ever make some change in the process of bhtsne?

DmitryUlyanov commented 6 years ago

Hi, it also involves other optimizations, but another thing that I have noticed recently is that py_bh_tsne (which I derived my code from) uses squared Euclidean distance, so the hyperparameters turned out to be not directly comparable to bhtsne lib. However I did not notice much difference between using squared or proper distance, so left squared to be the default.

bigheiniu commented 6 years ago

Hello, would you like give a reference or short introduction about your optimizations. I'd like to imitate your improvement on Multiple maps of t-SNE, but feel a little confused in reading source code. Thanks!