Parameter vector image representation problem

Screen Link:

Hi guys,

I have a question about representing the parameter vector in this mission.

Since the second step in this mission represented the matrix form of the cost function J(a) = (1/n) * (X・a - y)'・(X・a-y) , shouldn’t the representation of parameters a be a column vector instead of a row vector in the first step?

This is the representation I’m talking about:

2 Likes

Yes, you are correct. a should be a nx1 vector instead of a 1xn vector.

1 Like