Why the input vector need to be transit?

Why the input vector need to be transit? like A [nx1] need to be transit to AT[1xn].
Why not just define a transitted ventor [1xn] directly?

Do you mean “transposed”?

Which course are you asking about? You have posted in “General Discussions”, not any specific course. So we cannot answer why a transposed vector might be needed in a specific situation that you observed.

image

in the advanced learning algorithm week1 part.
why set a as [[1], [2]] at the beginning?

That slide just shows that they’re mathematically equal.

Sometimes you’ll be given a dataset that is the opposite shape from what you expected, so transposing it will be helpful.

1 Like

ok. thank you