vu-minh / tsne_auto_perp_constraints

Auto select perplexity for tsne with user constraints
0 stars 0 forks source link

Which implementation of t-sne? #3

Closed vu-minh closed 6 years ago

vu-minh commented 6 years ago

Implementation of t-sne

params of t-sne we should choose?

vu-minh commented 6 years ago

MNIST, 2500 examples:

  1. Scikit-leanr t-SNE: code runs in a Single core

    real 0m47,447s user 0m45,440s sys 0m2,004s (In fact with the default param of sklearn TSNE package, it uses barnes-hut implementation with Cython)

  2. Van de matten implementation: The code can run with Multi cores (numpy mechanism ?) matten_tsne_python but very slow:

    real 8m8,653s user 15m36,796s sys 1m51,731s

  3. C++ Barnes-Hut with python wrapper runs in Single core:

    real 0m17,285s user 0m17,859s sys 0m0,113s