Lda, Machine Learning, Dimensionality Reduction, Linear Discriminant.
the results plt.figure(figsize=(8, 6)) colors = ['navy', 'turquoise', 'darkorange'] lw = 2 for color, i, target_name in zip(colors, [0, 1, 2], iris.target_names): plt.scatter(X_lda[y == i, 0], X_lda[y == i, 1], alpha=.8, color=color, label=target_name) plt.legend(loc='best', shadow=False,