NLP, Python, Scikit Learn.
X['word_vector'].to_numpy() x_train_padded = pad_word_vectors(x_train,300000) x_train_2d = pca_reduce(x_train_padded,2) x_train_3d = pca_reduce(x_train_padded,3) The truncated and padded vectors represented as 2D and 3D vectors: Both graphs show a clear separation of the data points. To summarizes: