We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I would love to see an R binding/wrapper to use your code from R. Is that possible/planned?
The text was updated successfully, but these errors were encountered:
This is not currently a planned feature, however it certainly seems possible. You might consider looking at the file: https://github.com/CannyLab/tsne-cuda/blob/master/src/ext/pymodule_ext.cu, which is exposed in the library as a binding method for python, and could easily be adapted for R.
Sorry, something went wrong.
An alternative solution for R is to run Python inside R with the reticulate package. Like this for example :
library(reticulate) use_python("/home/fabien/anaconda2/bin/python") py_config() py_module_available("faiss") py_module_available("tsnecuda")
repl_python() from tsnecuda import TSNE import numpy as np X = np.random.random((5000, 50)) TSNE(verbose=1).fit_transform(X) exit
No branches or pull requests
Hi. I would love to see an R binding/wrapper to use your code from R. Is that possible/planned?
The text was updated successfully, but these errors were encountered: