You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Chan edited this page May 5, 2018
·
1 revision
Here we assume that the Python installation has been completed and validated. If you have not yet done that, then please visit the installation page and follow the instructions there to install and validate the tsnecuda module.
The usage of the tsnecuda library is extremely simple to get started with. Currently, the Barnes-Hut method is only supported for projection into two dimensions, thus, for any other projected dimension, the Naive method will be used, requiring significant GPU and CPU memory usage.
Thus, we can see from the above that we generally follow the calling conventions of the Sklearn code. In fact, almost all of the Sklearn options are supported. If we want to change the learning rate and perplexity, we can do so when we construct the TSNE object:
If you want to project into more than two dimensions, and are OK using the naive version of the code with an O(N^2) complexity (however still quick running time), then you can do so by the following: