The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Why input vector is always row vector and output vector is column vector?

Why input vector is always row vector and output vector is column vector?

0
Votes
1
Answer

Hello Team,
                    In the Linear Model lesson, you have taken the input vector is a row vector and the output vector is a column vector. Is any specific reason to do this? I mean to say, we can take the input vector as a column vector and output vector as a row vector.  

1 Answer

365 Team
0
Votes

Hi Tejas,
You are trying to multiply the values in these vectors in a certain way to produce identical linear equations. In general, you can achieve that in more than one way, but your final way is to always get:
y = w0 + w1*x1 + w2*x2 + etc.
Best,
Iliya

×
LAST CHANCE
Ready to Learn Data Science?
50% OFF