NLP, Python, Scikit Learn.
sklearn.decomposition import PCA def pca_reduce(vec_list, dimensions=2): return PCA(dimensions).fit_transform(vec_list) def d2_plot(data): plt.plot(data, 'o') d2_plot(pca_reduce(x_train,2)) There is no clear separation in the data points, they are more or less centered around the y-axis with a zero