W3_A1_Dimensions of W & B

Hi,

I wanted to how do we get the dimensions of W and b ? For example for a 4 nodes in hidden layer and 3 input features, w gets dimension of (4,3) and b as (4,1). Could you please share resources for this dimension derivation or lecture video where professor explains about it.

Thanks!

Prof Ng explains this in Week 3. Here’s a thread which points at least one relevant lecture and provides some discussion.