Machine Learning, Python, Towards Data Science, Dimensionality Reduction, Data Visualization.
list(map(lambda x: color_mapping[x], tf_pca.target)) plt.scatter(pca[:, 0], pca[:, 1], c=colors) Figure 2 Iris dataset PCA 2 dimensional plot Not so bad huh? t-SNE t-SNE is a relatively (to PCA) new method, originated in 2008 (original paper link). It is also more complicated to understand than