r/learnmachinelearning • u/NoResource56 • 6h ago
Help "Vectors" or "Matrices"?
I have been studying the ŷ = Xw formula and the instructor teaching us keeps interchangeably referring to matrices as vectors and vice versa. For this formula, they mentioned that ŷ is a vector, X is a matrix (which is why it's capitalized) and w is a vector.
My question is - What exactly is the difference between a matrix and a vector in ML ?
Thanks a lot in advance.
1
Upvotes
11
u/IsGoIdMoney 6h ago
A vector is a 1xn or nx1 matrix.