In numpy, I have two “arrays”,
y is a vector
I am getting the error
ValueError: operands could not be broadcast together with shapes (97,2) (2,1)
(97,2)x(2,1) is clearly a legal matrix operation and should give me a
I have corrected this using
X.dot(y) but the original question still remains.