I am confused about these symbols

Hello there,

While I am doing the assignment, I am confused about this symbol.
Screenshot 2024-03-19 at 13.15.13
Is it after the transpose?

Thank you,
Faye.

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook)

This is not a transpose. The [1] refers to layer 1 of the neural network, so W[1] refers to the weights of layer 1 of the neural network

This is the weight vector after the linear calculation on layer one.

Shape (3,4) means the matrix will have 3 rows and four columns.

Like this:

[[ 1  2  3  4]
 [ 5  6  7  8]
 [ 9 10 11 12]]

Note: #'s here are only for example.

Just to note: Your transpose (W.T) will look like this (of the same matrix):

[[ 1,  5,  9],
 [ 2,  6, 10],
 [ 3,  7, 11],
 [ 4,  8, 12]]

And instead have shape (4,3).

2 Likes