Published
- 1 min read
sklearn tsne
The solution for this is noted below
sklearn tsne
Solution
from sklearn.manifold import TSNE
tsne = TSNE(n_components=2, perplexity=30)
tsne_results = tsne.fit_transform(data)
Try other methods by searching on the site. That is if this doesn’t work