Machine Learning, Artificial Intelligence, Technology, Python, Data Science.
Apply t-SNE tsne = TSNE(n_components=2, random_state=0) X_tsne = tsne.fit_transform(X) # Visualize the results on 2D plane plt.figure(figsize=(10, 6)) scatter = plt.scatter(X_tsne[:, 0], X_tsne[:, 1], c=y, edgecolor='none', alpha=0.7, cmap=plt.cm.get_cmap('jet', 10)) plt.colorbar(scatter)