Output Representaion

In Course, AndrewNg Prof usually represent output as image

I think we can represent output as

i have a question with why represent output as image

Yes, that would work from a mathematical point of view, but the result will be an m x 1 column vector. The way Prof Ng writes it, you end up with a 1 x m row vector. All this is completely arbitrary: you can choose to orient the matrices and vectors in different ways. Prof Ng has chosen a particular representation for everything. He’s the teacher here, so he gets to decide. When you write your own software, you can choose a different way to orient things, but here we need to follow Prof Ng’s instructions.

1 Like

thank you for the reply.

Your answer was really helpful.