I'm going through an article on linear regression, and they give the following formula for computing estimates:
The convention is that all vectors are column vectors. So if
n is the number of samples and
m is the number of parameters, hw(x) has dimensions
n x 1, wT has dimensions
1 x m, and x has dimensions
n x m. The problem is that these dimensions don't work out for matrix multiplication.
Where have I gone wrong here?