I want to use t-SNE in WEKA just for visualization purposes. I tried to look at the package manager but could not find any implementation of it.
Is there anything that I can do to achieve it?
Data Science Stack Exchange is a question and answer site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field. It only takes a minute to sign up.Sign up to join this community
Sadly no, there is not a T-SNE implementation for WEKA.
If you can install python packages in your environment, then you can use the
wekaPython package (in WEKA's package manager) to run scikit-learn's T-SNE implementation on data you have loaded into WEKA. Use this code in the 'CPython Scripting' panel (which appears after successfully installing
X = py_data.iloc[:, :-1] y = py_data.iloc[:, -1] from sklearn.manifold import TSNE import matplotlib.pyplot as plt tX = TSNE().fit_transform(X) plt.scatter(tX[:, 0], tX[:, 1]) plt.show()