A parallel version of ofxTSNE.
A parallel version of ofxTSNE.
It simply wraps a slightly modified version of Multicore-TSNE and should be API compatible with ofxTSNE.
It offers 2-5x speed boost for the standard ofxTSNE.
It is limited to 2D embeddings.
Parallel acceleration applies to the tree-building and refinement portions of the algorithm. The initial segment is still single threaded.
Multicore-TSNE uses OpenMP, which is unsupported by default on OSX (at this point at least). In order to run on OSX, do the following:
llvm
via brew install llvm
.Special flags are listed in the addon_config.mk
file that allows the Makefile
to use the appropriate brew-installed OpenMP-compatible llvm
compiler.
cd example/
make -j4 -s
make run
to run the example.Xcode requires configuration in addition to using the standard openFrameworks Project Generator app. Thanks @crecord.