Computational Thinking, Python, Linear Algebra, Math, Mathematics.
points and since X has dimensions on the columns we need to transpose it. X_new = eigVecs.T.dot(X_centered.T) plt.plot(eigVecs.T.dot(X_centered.T)[0, :], eigVecs.T.dot(X_centered.T)[1, :], '*') plt.xlim(-5, 5) plt.ylim(-5, 5) plt.show() It worked! The rotation transformed our dataset that have now