SyntaxFix
Write A Post
Hire A Developer
Questions
Convert the arrays to matrices, and then perform the multiplication.
X = np.matrix(X) y = np.matrix(y) X*y