NLP, Python, Scikit Learn.
sklearn.decomposition import PCA def pca_reduce(vec_list, dimensions): return PCA(dimensions).fit_transform(vec_list) def d3_plot(data): fig = plt.figure() ax = fig.add_subplot(projection='3d') for _, v in enumerate(data[:90]): ax.scatter(v[0],v[1], v[2],marker='.', color='r') for _, v in