C2_W1_Lab02_CoffeeRoasting_TF Counting of Weights

Why does W1 have six weights?


I think my confusion is also related to the photo below.

For the part of the photo I circled, does it mean “the vector of weights for the first neuron in layer 2” or “the scalar value of the one weight for that first neuron in layer 2”

Hello @Alexander_Leon

In this example, we have 2 inputs and 3 units in Layer 1. So, there will be 2 x 3 weights = 6 and w^{[1]} will have the shape (2,3)

It means the vector of weights for the first neuron in Layer 2

The two inputs would be Temp and Duration, aye?

Here it is. Check the lab out for more details :slight_smile:

Raymond