pca.fit_transform(X)
#绘制结果
plt.figure()
plt.subplot(2,2,1,aspect='equal')
plt.title("Original space")
reds...=y==0
blues=y==1
plt.scatter(X[reds,0],X[reds,1],c="red",s=20,edgecolor='k')
plt.scatter(X[blues,0],X...,0],X_pca[reds,1],c="red",s=20,edgecolor='k')
plt.scatter(X_pca[blues,0],X_pca[blues,1],c="blue",s=20...,0],X_kpca[reds,1],c="red",s=20,edgecolor='k')
plt.scatter(X_kpca[blues,0],X_kpca[blues,1],c="blue",s...,0],X_back[reds,1],c="red",s=20,edgecolor='k')
plt.scatter(X_back[blues,0],X_back[blues,1],c="blue",s